Created
February 2, 2018 11:40
-
-
Save lucasvanlierop/512bf3b5513be724218e06e6d1a53079 to your computer and use it in GitHub Desktop.
Example Make file to wrap docker-compose up
This file contains 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
export HOST_UID=$(shell id -u) | |
export HOST_GID=$(shell id -g) | |
SHELL=/bin/bash | |
# Watch out, Make expects TAB indentation! | |
up: | |
docker-compose up |
Should be run as make up
;-)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
since uid/gid are exported they are available to docker-compose: