mirror of https://github.com/docker/compose.git
Test against Docker 1.6.2 and 1.7.1
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
1e71eebc74
commit
e675d67774
12
Dockerfile
12
Dockerfile
|
@ -48,16 +48,16 @@ RUN set -ex; \
|
||||||
rm -rf pip-7.0.1; \
|
rm -rf pip-7.0.1; \
|
||||||
rm pip-7.0.1.tar.gz
|
rm pip-7.0.1.tar.gz
|
||||||
|
|
||||||
ENV ALL_DOCKER_VERSIONS 1.6.0 1.7.0
|
ENV ALL_DOCKER_VERSIONS 1.6.2 1.7.1
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
curl https://get.docker.com/builds/Linux/x86_64/docker-1.6.0 -o /usr/local/bin/docker-1.6.0; \
|
curl https://get.docker.com/builds/Linux/x86_64/docker-1.6.2 -o /usr/local/bin/docker-1.6.2; \
|
||||||
chmod +x /usr/local/bin/docker-1.6.0; \
|
chmod +x /usr/local/bin/docker-1.6.2; \
|
||||||
curl https://test.docker.com/builds/Linux/x86_64/docker-1.7.0 -o /usr/local/bin/docker-1.7.0; \
|
curl https://get.docker.com/builds/Linux/x86_64/docker-1.7.1 -o /usr/local/bin/docker-1.7.1; \
|
||||||
chmod +x /usr/local/bin/docker-1.7.0
|
chmod +x /usr/local/bin/docker-1.7.1
|
||||||
|
|
||||||
# Set the default Docker to be run
|
# Set the default Docker to be run
|
||||||
RUN ln -s /usr/local/bin/docker-1.6.0 /usr/local/bin/docker
|
RUN ln -s /usr/local/bin/docker-1.6.2 /usr/local/bin/docker
|
||||||
|
|
||||||
RUN useradd -d /home/user -m -s /bin/bash user
|
RUN useradd -d /home/user -m -s /bin/bash user
|
||||||
WORKDIR /code/
|
WORKDIR /code/
|
||||||
|
|
Loading…
Reference in New Issue