Skip to content

Instantly share code, notes, and snippets.

@0xAhmed
Created December 29, 2016 08:56
Show Gist options
  • Save 0xAhmed/e4efc3a26b04f7158cd5b67598e80656 to your computer and use it in GitHub Desktop.
Save 0xAhmed/e4efc3a26b04f7158cd5b67598e80656 to your computer and use it in GitHub Desktop.
Docker build: Using ENV results
$ 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