Last active
December 29, 2016 09:05
-
-
Save 0xAhmed/6914b57b162121c6cc3ba44dec478396 to your computer and use it in GitHub Desktop.
Docker build: Using ARG
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
Sending build context to Docker daemon 1.2 MB | |
Step 1 : FROM busybox | |
---> 1efc1d465fd6 | |
Step 2 : ARG app_version | |
---> Running in 94d310838e79 | |
---> 576425d2c33e | |
Removing intermediate container 94d310838e79 | |
Step 3 : RUN echo “Building $app_version” | |
---> Running in 7683d34558d1 | |
“Building 1.0” | |
---> 243f4bafe500 | |
Removing intermediate container 7683d34558d1 | |
Successfully built 243f4bafe500 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment