Python env changes for pip3 (#1633)
Co-authored-by: agiwalpooja20 <agiwalpooja20@gmail.com>
This commit is contained in:
co-authored by
agiwalpooja20
parent
33c23c1341
commit
17bb1ac39f
@@ -2,7 +2,9 @@ FROM alpine
|
|||||||
|
|
||||||
WORKDIR /app
|
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 && \
|
pip3 install --upgrade pip && \
|
||||||
rm -r /root/.cache
|
rm -r /root/.cache
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ ARG BUILDER_IMAGE=fission/builder:latest
|
|||||||
FROM ${BUILDER_IMAGE}
|
FROM ${BUILDER_IMAGE}
|
||||||
|
|
||||||
RUN apk update
|
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 pip3 install --upgrade pip
|
||||||
RUN rm -r /root/.cache
|
RUN rm -r /root/.cache
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user