Created
December 29, 2016 08:56
-
-
Save 0xAhmed/e4efc3a26b04f7158cd5b67598e80656 to your computer and use it in GitHub Desktop.
Docker build: Using ENV results
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
$ docker build -t my_app . | |
$ docker run -e feature_enabled=true my_app | |
Feature activated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment