Created
September 12, 2022 15:20
-
-
Save KangDroid/637a4d13746065d1708159f9b8254f60 to your computer and use it in GitHub Desktop.
Dockerfile-Arg-To-Env
This file contains hidden or 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:latest | |
ARG TEST_ENV # docker build . -t test --build-arg TEST_ENV="wow" | |
ENV HELLO_ENV ${TEST_ENV} | |
# 이거 빌드한 다음에 실행하고, echo $HELLO_ENV하면..! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment