We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following up on #2132.
Heredocs are now supported in RUN commands - it might be nice to extend this support into other commands that use similar semantics:
For example, CMD:
CMD
CMD <<EOF #!/usr/bin/env python print("Hello world") EOF
Similarly for ONBUILD:
ONBUILD
ONBUILD RUN <<EOF echo test EOF ONBUILD COPY <<EOF /dest file contents EOF
I also imagine the same would work well with HEALTHCHECK? Though I don't have much experience with that specific command.
HEALTHCHECK
This is mostly for the sake of consistency with RUN-like commands, but it's not too hard to imagine valid use cases that might call for this feature.
RUN
The text was updated successfully, but these errors were encountered:
docker build
docker buildx build
It'd be quite cool for ENTRYPOINT
ENTRYPOINT
ENTRYPOINT <<EOF #! /bin/bash exec apache2-foreground EOF
Sorry, something went wrong.
i third this, it also seems like it would help unify shell-form implementation across directives.
jedevc
No branches or pull requests
Following up on #2132.
Heredocs are now supported in RUN commands - it might be nice to extend this support into other commands that use similar semantics:
For example,
CMD
:Similarly for
ONBUILD
:I also imagine the same would work well with
HEALTHCHECK
? Though I don't have much experience with that specific command.This is mostly for the sake of consistency with
RUN
-like commands, but it's not too hard to imagine valid use cases that might call for this feature.The text was updated successfully, but these errors were encountered: