Created
December 26, 2021 15:38
-
-
Save DerekChia/51a6f1253663a6376985343ff03a877f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
ENV SOME_VAR=env-value | |
ARG SOME_VAR=arg-value | |
RUN echo "Build-time: SOME_VAR is set to ${SOME_VAR:-}" | |
CMD ["bash", "-c", "echo Run-time: SOME_VAR is set to ${SOME_VAR:-}"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment