Fixes Dockerfile for building kubeval-validator image

Closes: 669
Change-Id: I9416b5e85f6da7c2c4da00b2baf82497be700d57
This commit is contained in:
Suraj Patil 2022-02-02 07:04:41 +00:00
parent 0fd3f957d5
commit 9589692d26

View File

@ -26,8 +26,10 @@ RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
COPY ./certs/* /usr/local/share/ca-certificates/
RUN update-ca-certificates
ENV PYTHONUNBUFFERED=1
RUN echo "**** install Python ****" && \
apk add --no-cache python3 && \
RUN echo "**** install build tools ****" && \
apk add --no-cache build-base && \
echo "**** install Python ****" && \
apk add --no-cache python3 python3-dev && \
if [ ! -e /usr/bin/python ]; then ln -sf python3 /usr/bin/python ; fi && \
\
echo "**** install pip ****" && \