Docker.tmbundle
Docker.tmbundle copied to clipboard
Dockerfile syntax
Not sure if experimental features are of interest for this project, but I would assume Buildkit's heredoc support is here to stay: https://www.docker.com/blog/introduction-to-heredocs-in-dockerfiles/ This would be especially nice for the...
grammar ref: https://docs.docker.com/engine/reference/builder/#label E.g., ``` LABEL org.opencontainers.image.authors="[email protected]" # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # ^ # ^^^^^^^^^^^^^^^^^^^^ ```
consider a multistage dockerfile: ```dockerfile FROM foo AS bar RUN echo "hello from bar" FROM baz COPY --from=bar / / ``` i expect `AS` to be same color as `RUN`
It was noticed that Github gives files named like `Dockerfile.*` no syntax highlighting; however, this appears to be a fairly common naming convention for Dockerfiles and is also referenced in...
https://docs.docker.com/engine/reference/builder/#escape This is very useful when writing Dockerfiles for Windows Containers.
When switching to Dockerfile-bash syntax, an error pops up and breaks syntax highlighting. I think this is related to the recent commit, but, I don't know any context on the...