support DOCKER_VERSION when installing via Makefile

This commit is contained in:
Michael Hobbs committed 2015-09-16 15:21:09 -07:00
1 parent 1e479c63bd
commit 95388b07bb
1 file changed
+3
+3
View File
@@ -104,6 +104,9 @@ docker: aufs
usermod -aG docker dokku usermod -aG docker dokku
ifndef CI ifndef CI
curl -sSL https://get.docker.com/ | sh curl -sSL https://get.docker.com/ | sh
ifdef DOCKER_VERSION
apt-get install -qq -y docker-engine=${DOCKER_VERSION} || (apt-cache madison docker-engine ; exit 1)
endif
sleep 2 # give docker a moment i guess sleep 2 # give docker a moment i guess
endif endif