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>
(cherry picked from commit b1723b37212570128b1b403f878cf0064d857f4a)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

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