Browse code

Update docker-py to 3.7.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/01/10 06:47:33
Showing 1 changed files
... ...
@@ -74,7 +74,7 @@ RUN set -x \
74 74
 
75 75
 FROM base AS docker-py
76 76
 # Get the "docker-py" source so we can run their integration tests
77
-ENV DOCKER_PY_COMMIT 8b246db271a85d6541dc458838627e89c683e42f
77
+ENV DOCKER_PY_COMMIT ac922192959870774ad8428344d9faa0555f7ba6
78 78
 RUN git clone https://github.com/docker/docker-py.git /build \
79 79
 	&& cd /build \
80 80
 	&& git checkout -q $DOCKER_PY_COMMIT
... ...
@@ -184,6 +184,9 @@ RUN apt-get update && apt-get install -y \
184 184
 	jq \
185 185
 	libcap2-bin \
186 186
 	libdevmapper-dev \
187
+# libffi-dev and libssl-dev appear to be required for compiling paramiko on s390x/ppc64le
188
+	libffi-dev \
189
+	libssl-dev \
187 190
 	libudev-dev \
188 191
 	libsystemd-dev \
189 192
 	binutils-mingw-w64 \
... ...
@@ -192,6 +195,8 @@ RUN apt-get update && apt-get install -y \
192 192
 	pigz \
193 193
 	python-backports.ssl-match-hostname \
194 194
 	python-dev \
195
+# python-cffi appears to be required for compiling paramiko on s390x/ppc64le
196
+	python-cffi \
195 197
 	python-mock \
196 198
 	python-pip \
197 199
 	python-requests \
... ...
@@ -224,7 +229,8 @@ COPY --from=docker-py /build/ /docker-py
224 224
 # split out into a separate image, including all the `python-*` deps installed
225 225
 # above.
226 226
 RUN cd /docker-py \
227
-	&& pip install docker-pycreds==0.2.1 \
227
+	&& pip install docker-pycreds==0.4.0 \
228
+	&& pip install paramiko==2.4.2 \
228 229
 	&& pip install yamllint==1.5.0 \
229 230
 	&& pip install -r test-requirements.txt
230 231