Browse code

Dockerfile: add back yamllint

This was inadvertedly removed in 7bfe48cc00318f9d4cf388237855012aafac56b0,
because it was documented as a dependency for docker-py, but
actually used to validate the swagger file.

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

Sebastiaan van Stijn authored on 2019/07/31 08:59:02
Showing 1 changed files
... ...
@@ -222,6 +222,8 @@ RUN apt-get update && apt-get install -y \
222 222
 	g++-mingw-w64-x86-64 \
223 223
 	net-tools \
224 224
 	pigz \
225
+	python3-pip \
226
+	python3-setuptools \
225 227
 	thin-provisioning-tools \
226 228
 	vim \
227 229
 	vim-common \
... ...
@@ -233,6 +235,9 @@ RUN apt-get update && apt-get install -y \
233 233
 	libnet1 \
234 234
 	libnl-3-200 \
235 235
 	--no-install-recommends
236
+
237
+RUN pip3 install yamllint==1.16.0
238
+
236 239
 COPY --from=swagger /build/swagger* /usr/local/bin/
237 240
 COPY --from=frozen-images /build/ /docker-frozen-images
238 241
 COPY --from=gometalinter /build/ /usr/local/bin/