Test against Docker 1.6 RC2 only

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2015-03-31 16:04:22 -04:00
commit 0650c4485a
3 changed files with 5 additions and 11 deletions

View file

@ -15,18 +15,14 @@ RUN set -ex; \
; \
rm -rf /var/lib/apt/lists/*
ENV ALL_DOCKER_VERSIONS 1.3.3 1.4.1 1.5.0 1.6.0-rc2
ENV ALL_DOCKER_VERSIONS 1.6.0-rc2
RUN set -ex; \
for v in 1.3.3 1.4.1 1.5.0; do \
curl https://get.docker.com/builds/Linux/x86_64/docker-$v -o /usr/local/bin/docker-$v; \
chmod +x /usr/local/bin/docker-$v; \
done; \
curl https://test.docker.com/builds/Linux/x86_64/docker-1.6.0-rc2 -o /usr/local/bin/docker-1.6.0-rc2; \
chmod +x /usr/local/bin/docker-1.6.0-rc2
# Set the default Docker to be run
RUN ln -s /usr/local/bin/docker-1.3.3 /usr/local/bin/docker
RUN ln -s /usr/local/bin/docker-1.6.0-rc2 /usr/local/bin/docker
RUN useradd -d /home/user -m -s /bin/bash user
WORKDIR /code/