added DOCKER_VERSION variable

This commit is contained in:
Attilio Borello 2017-05-09 10:34:30 +02:00
parent acc7865542
commit ef339af623
2 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,10 @@
#!/usr/bin/env bash
set -e
sudo -E apt-get -yq update
sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install docker-engine=${DOCKER_VERSION}*
docker version
pip install --user -r requirements.txt
make pull-images

View file

@ -5,6 +5,8 @@ export secure='btt4r13t09gQlHb6gYrvGC2yGCMMHfnp1Mz1RQedc4Mpf/FfT8aE6xmK2a2i9CCvs
export REPO='containous/traefik'
export DOCKER_VERSION=1.12.6
if VERSION=$(git describe --exact-match --abbrev=0 --tags);
then
export VERSION