Skip to content

Commit

Permalink
chore: adding break system packages for pip
Browse files Browse the repository at this point in the history
  • Loading branch information
amunchet committed Nov 7, 2024
1 parent 532eaa6 commit c633144
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion alertmanager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt update && apt -y install \
curl

ADD requirements.txt /
RUN pip3 install -r /requirements.txt
RUN pip3 install -r /requirements.txt --break-system-packages

ENV REPO="prometheus/alertmanager"
WORKDIR /tmp
Expand Down
2 changes: 1 addition & 1 deletion cron/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN apt-get update && apt-get -y install python3 \


COPY backend/requirements.txt /
RUN pip3 install -r /requirements.txt
RUN pip3 install -r /requirements.txt --break-system-packages

# Cron installation

Expand Down

0 comments on commit c633144

Please sign in to comment.