Skip to content

Commit 0265e13

Browse files
thaJeztahburnMyDread
authored andcommitted
Dockerfile: add back yamllint
This was inadvertedly removed in 7bfe48c, 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> Signed-off-by: zach <Zachary.Joyner@linux.com>
1 parent 57315fe commit 0265e13

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ RUN apt-get update && apt-get install -y \
222222
g++-mingw-w64-x86-64 \
223223
net-tools \
224224
pigz \
225+
python3-pip \
226+
python3-setuptools \
225227
thin-provisioning-tools \
226228
vim \
227229
vim-common \
@@ -233,6 +235,9 @@ RUN apt-get update && apt-get install -y \
233235
libnet1 \
234236
libnl-3-200 \
235237
--no-install-recommends
238+
239+
RUN pip3 install yamllint==1.16.0
240+
236241
COPY --from=swagger /build/swagger* /usr/local/bin/
237242
COPY --from=frozen-images /build/ /docker-frozen-images
238243
COPY --from=gometalinter /build/ /usr/local/bin/

0 commit comments

Comments
 (0)