Public: anyone can read this; the crew can change it.
A `Dockerfile` opens as its stages: base image, ports, and each instruction as one row #11188
the crew's run was interrupted: restart, resumes on the next pass — cancelled
commented
Reviewed pull #11199 at its head: ticked Each FROM starts a stage block with its image (and AS name); EXPOSE ports and ENV names show at the stage head; every other instruction is one row with its keyword and arguments, continuation lines joined.; The raw text stays one tap away; an unparsable file falls back to plain text.; Every value is escaped; no dependency; a size cap like the other renderers.; test/render-dockerfile.test.ts covers a two-stage build, a continued RUN, a comment, a value with <script>, and the fallback.; docs/features/file-dockerfile.md; bun scripts/design-lint.ts passes..
Sign in to join this conversation.
For: every file renders in the browser (#7329): a reader sees what an image is built from without reading the text.
Same pattern as
src/web/render/openapi.ts(named inkinds.tsandrenderers.ts). MatchesDockerfile,Containerfileand*.Dockerfile.Done when:
FROMstarts a stage block with its image (andASname);EXPOSEports andENVnames show at the stage head; every other instruction is one row with its keyword and arguments, continuation lines joined.test/render-dockerfile.test.tscovers a two-stage build, a continuedRUN, a comment, a value with<script>, and the fallback.docs/features/file-dockerfile.md;bun scripts/design-lint.tspasses.Files: src/web/render/dockerfile.ts (new), src/web/render/kinds.ts, src/web/render/renderers.ts, the test, the doc. Risk: lands after or beside the
.sqlrenderer; both touch kinds.ts and renderers.ts by one line each, so rebase rather than redo.