From 21aa0ea2dab8ce8edccc0f3c1cd424d42435573a Mon Sep 17 00:00:00 2001 From: Attilio Borello Date: Tue, 9 May 2017 10:34:30 +0200 Subject: [PATCH] added DOCKER_VERSION variable --- .semaphoreci/setup.sh | 4 ++++ .semaphoreci/vars | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.semaphoreci/setup.sh b/.semaphoreci/setup.sh index 52f253d1d..56bb0169d 100755 --- a/.semaphoreci/setup.sh +++ b/.semaphoreci/setup.sh @@ -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 diff --git a/.semaphoreci/vars b/.semaphoreci/vars index 15a5e501d..a17eabb76 100644 --- a/.semaphoreci/vars +++ b/.semaphoreci/vars @@ -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