support DOCKER_VERSION when installing via Makefile

This commit is contained in:
Michael Hobbs
2015-09-16 15:21:09 -07:00
parent 1e479c63bd
commit 95388b07bb

View File

@@ -104,6 +104,9 @@ docker: aufs
usermod -aG docker dokku
ifndef CI
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
endif