Skip to content

Commit

Permalink
fix pip break-system-packages problem
Browse files Browse the repository at this point in the history
  • Loading branch information
mudhoney authored and dgarciabriseno committed Sep 19, 2024
1 parent 0338c3a commit bcf4a23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compose/dockerfiles/db.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ FROM mariadb
WORKDIR /root
RUN apt update
RUN apt install -y python3 python3-pip python3-dev default-libmysqlclient-dev build-essential pkg-config expect
RUN python3 -m pip install --break-system-packages numpy==2.0.0 sunpy==5.1.4 glymur==0.13.4 matplotlib==3.9.1 scipy==1.14.0 mysqlclient
ENV PIP_BREAK_SYSTEM_PACKAGES=1
RUN python3 -m pip install numpy==2.0.0 sunpy==5.1.4 glymur==0.13.4 matplotlib==3.9.1 scipy==1.14.0 mysqlclient


COPY api/install .
COPY compose/2021_06_01__00_01_21_347__SDO_AIA_AIA_171.jp2 img/2021_06_01__00_01_21_347__SDO_AIA_AIA_171.jp2
Expand Down

0 comments on commit bcf4a23

Please sign in to comment.