Skip to content

Commit

Permalink
Merge pull request #130 from z-bsod/patch-1
Browse files Browse the repository at this point in the history
add "--break-system-packages" to pip commands
  • Loading branch information
schurzi authored Jun 17, 2024
2 parents 561a44d + 4644866 commit 52e61d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template.d/21_requirements
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ RUN if [ -n "${REQUIREMENTS}" ]; then \
if [ "${REQ}" = "PIP" ]; then \
for REQUIREMENT_REQ in ${REQUIREMENTS_PIP_PACKAGES[@]}; \
do \
pip3 install --no-cache-dir "${REQUIREMENT_REQ//=/==}"; \
pip3 install --no-cache-dir --break-system-packages "${REQUIREMENT_REQ//=/==}"; \
done && \
\
for REQUIREMENT_REQ in ${REQUIREMENTS_PIP_REQUIREMENTS[@]}; \
do \
pip3 install --no-cache-dir -r "${REQUIREMENT_REQ}"; \
pip3 install --no-cache-dir --break-system-packages -r "${REQUIREMENT_REQ}"; \
done; \
fi && \
\
Expand Down

0 comments on commit 52e61d0

Please sign in to comment.