Browse code

Switch docker-py clone to use an explicit commit for natural cache-busting

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>

Tianon Gravi authored on 2015/01/14 04:34:55
Showing 1 changed files
... ...
@@ -117,7 +117,10 @@ RUN git clone -b buildroot-2014.02 https://github.com/jpetazzo/docker-busybox.gi
117 117
 RUN curl -sSL -o /cirros.tar.gz https://github.com/ewindisch/docker-cirros/raw/1cded459668e8b9dbf4ef976c94c05add9bbd8e9/cirros-0.3.0-x86_64-lxc.tar.gz
118 118
 
119 119
 # Get the "docker-py" source so we can run their integration tests
120
-RUN git clone -b 0.7.1 https://github.com/docker/docker-py.git /docker-py
120
+ENV DOCKER_PY_COMMIT aa19d7b6609c6676e8258f6b900dea2eda1dbe95
121
+RUN git clone https://github.com/docker/docker-py.git /docker-py \
122
+	&& cd /docker-py \
123
+	&& git checkout -q $DOCKER_PY_COMMIT
121 124
 
122 125
 # Setup s3cmd config
123 126
 RUN { \