From b1723b37212570128b1b403f878cf0064d857f4a 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 --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 824d0b9e07..e86fc23336 100644 --- a/Dockerfile +++ b/Dockerfile @@ -222,6 +222,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 \ @@ -233,6 +235,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/