From 61e218a502c335f2f44f98d626d21c564e9fa811 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 30 Jul 2019 16:59:02 -0700 Subject: [PATCH] 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 (cherry picked from commit b1723b37212570128b1b403f878cf0064d857f4a) Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 721187cf49..21663110ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -228,6 +228,8 @@ RUN apt-get update && apt-get install -y \ g++-mingw-w64-x86-64 \ net-tools \ pigz \ + python3-pip \ + python3-setuptools \ thin-provisioning-tools \ vim \ vim-common \ @@ -239,6 +241,9 @@ RUN apt-get update && apt-get install -y \ libnet1 \ libnl-3-200 \ --no-install-recommends + +RUN pip3 install yamllint==1.16.0 + COPY --from=swagger /build/swagger* /usr/local/bin/ COPY --from=frozen-images /build/ /docker-frozen-images COPY --from=gometalinter /build/ /usr/local/bin/