Created
May 10, 2017 05:47
-
-
Save seggcsont/1e9a72abdc89ee2e186bec307031aa57 to your computer and use it in GitHub Desktop.
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
[vagrant@hotels_box ~]$ envsubst < docker-compose.yml | |
app: | |
image: python: | |
command: python -v | |
volumes: | |
- /tmp:/workdir | |
[vagrant@hotels_box ~]$ python_version=alpine envsubst < docker-compose.yml | |
app: | |
image: python:alpine | |
command: python -v | |
volumes: | |
- /tmp:/workdir | |
[vagrant@hotels_box ~]$ python_version=2.6 envsubst < docker-compose.yml | |
app: | |
image: python:2.6 | |
command: python -v | |
volumes: | |
- /tmp:/workdir | |
[vagrant@hotels_box ~]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment