support DOCKER_VERSION when installing via Makefile
This commit is contained in:
1 parent
1e479c63bd
commit
95388b07bb
1 file changed
+3
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user