chore: update Dockerfile to configure pip behavior
All checks were successful
All checks were successful
This commit is contained in:
@@ -21,8 +21,10 @@ FROM default AS python
|
|||||||
ENV TERM=xterm-256color
|
ENV TERM=xterm-256color
|
||||||
ARG PYTHON_PACKAGES
|
ARG PYTHON_PACKAGES
|
||||||
RUN apk add --no-cache ${PYTHON_PACKAGES}
|
RUN apk add --no-cache ${PYTHON_PACKAGES}
|
||||||
|
RUN python3 -m pip config set global.break-system-packages true
|
||||||
|
|
||||||
FROM full AS full-python
|
FROM full AS full-python
|
||||||
ENV TERM=xterm-256color
|
ENV TERM=xterm-256color
|
||||||
ARG PYTHON_PACKAGES
|
ARG PYTHON_PACKAGES
|
||||||
RUN apk add --no-cache ${PYTHON_PACKAGES}
|
RUN apk add --no-cache ${PYTHON_PACKAGES}
|
||||||
|
RUN python3 -m pip config set global.break-system-packages true
|
||||||
Reference in New Issue
Block a user