Fixes Dockerfile for building kubeval-validator image
Closes: 669 Change-Id: I9416b5e85f6da7c2c4da00b2baf82497be700d57
This commit is contained in:
parent
0fd3f957d5
commit
9589692d26
@ -26,8 +26,10 @@ RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
|
|||||||
COPY ./certs/* /usr/local/share/ca-certificates/
|
COPY ./certs/* /usr/local/share/ca-certificates/
|
||||||
RUN update-ca-certificates
|
RUN update-ca-certificates
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
RUN echo "**** install Python ****" && \
|
RUN echo "**** install build tools ****" && \
|
||||||
apk add --no-cache python3 && \
|
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 && \
|
if [ ! -e /usr/bin/python ]; then ln -sf python3 /usr/bin/python ; fi && \
|
||||||
\
|
\
|
||||||
echo "**** install pip ****" && \
|
echo "**** install pip ****" && \
|
||||||
|
Loading…
Reference in New Issue
Block a user