1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Dockerfile: add back yamllint

This was inadvertedly removed in 7bfe48cc00,
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 b1723b3721)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-07-30 16:59:02 -07:00
parent 3dd11dd0b5
commit 61e218a502
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -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/