Created
June 15, 2017 11:30
-
-
Save awalterschulze/a755de597eee3deb2e32573492b145d1 to your computer and use it in GitHub Desktop.
when docker-compose is not installed by docker is
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
DOCKER_COMPOSE := $(shell command -v docker-compose 2>/dev/null) | |
ifndef DOCKER_COMPOSE | |
DOCKER_COMPOSE = docker run --rm -i --volume /var/run/docker.sock:/var/run/docker.sock --volume $(shell pwd):/composefile -w /composefile docker/compose:1.8.1 | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment