Python env changes for pip3 (#1633)

Co-authored-by: agiwalpooja20 <agiwalpooja20@gmail.com>
This commit is contained in:
Pooja Dhoot
2020-06-05 16:03:46 +05:30
committed by GitHub
co-authored by agiwalpooja20
parent 33c23c1341
commit 17bb1ac39f
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -2,7 +2,9 @@ FROM alpine
WORKDIR /app
RUN apk add --no-cache python3 python3-dev build-base libev-dev libffi-dev && \
RUN apk add --update gcc && \
apk upgrade --no-cache && \
apk add --no-cache python3 python3-dev build-base libev-dev libffi-dev bash py-pip && \
pip3 install --upgrade pip && \
rm -r /root/.cache
+1 -1
View File
@@ -2,7 +2,7 @@ ARG BUILDER_IMAGE=fission/builder:latest
FROM ${BUILDER_IMAGE}
RUN apk update
RUN apk add --no-cache python3 python3-dev build-base
RUN apk add --no-cache python3 python3-dev build-base gcc bash py-pip
RUN pip3 install --upgrade pip
RUN rm -r /root/.cache