This repository was archived by the owner on May 4, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 44RUN apt-get update && \
55 DEBIAN_FRONTEND=noninteractive apt-get install -yq iptables apt-transport-https ca-certificates ssh git curl make
66
7- ENV DIND_COMMIT=b8bed8832b77a478360ae946a69dab5e922b194e DOCKER_VERSION=1.8.3 COMPOSE_VERSION=1.3.3
7+ ENV DIND_COMMIT=b8bed8832b77a478360ae946a69dab5e922b194e DOCKER_VERSION=1.9.1 COMPOSE_VERSION=1.5.2
88ADD https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION} /usr/bin/docker
99ADD https://raw.githubusercontent.com/docker/docker/${DIND_COMMIT}/hack/dind /usr/local/bin/dind
1010ADD https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-linux-x86_64 /usr/local/bin/docker-compose
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ cat <<EOF
209209Build summary
210210=============
211211
212- $DOCKER_USED
212+ $DOCKER_USED and docker-compose ${COMPOSE_VERSION}
213213$SOURCE
214214$BUILD
215215$TEST
Original file line number Diff line number Diff line change @@ -56,19 +56,19 @@ if [ -S /var/run/docker.sock ]; then
5656 if ! docker version > /dev/null 2>&1 ; then
5757 export DOCKER_VERSION=$( cat version_list | grep -P " ^$( docker version 2>&1 > /dev/null | grep -iF " client and server don't have same version" | grep -oP ' server: *\d*\.\d*' | grep -oP ' \d*\.\d*' ) .*$" | cut -d " " -f2)
5858 if [ " ${DOCKER_VERSION} " != " " ]; then
59- print_msg " => Downloading Docker ${DOCKER_VERSION} "
59+ print_msg " => Downloading docker ${DOCKER_VERSION} "
6060 curl -o /usr/bin/docker https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}
6161 fi
6262 fi
6363 docker version > /dev/null 2>&1 || { print_msg " Failed to connect to docker daemon at /var/run/docker.sock" && exit 1; }
6464 EXTERNAL_DOCKER=yes
65- DOCKER_USED=" Using external docker version ${DOCKER_VERSION} mounted at /var/run/docker.sock"
65+ DOCKER_USED=" Using external docker ${DOCKER_VERSION} mounted at /var/run/docker.sock"
6666 export DOCKER_USED=${DOCKER_USED}
6767 export EXTERNAL_DOCKER=${EXTERNAL_DOCKER}
6868 export MOUNTED_DOCKER_FOLDER=${MOUNTED_DOCKER_FOLDER}
6969 /build.sh " $@ "
7070else
71- DOCKER_USED=" Using docker-in-docker"
71+ DOCKER_USED=" Using docker-in-docker ${DOCKER_VERSION} "
7272 if [ " $( ls -A /var/lib/docker) " ]; then
7373 print_msg " => Detected pre-existing /var/lib/docker folder"
7474 MOUNTED_DOCKER_FOLDER=yes
You can’t perform that action at this time.
0 commit comments