Skip to content

Commit 4a51d25

Browse files
committed
fix(docker): add --break-system-packages for Debian Bookworm compatibility
1 parent b418c8b commit 4a51d25

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN apt-get update \
4747
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
4848

4949
# Upgrade pip
50-
RUN python3 -m pip install --upgrade pip
50+
RUN python3 -m pip install --upgrade pip --break-system-packages
5151

5252
# Set .bashrc
5353
RUN echo "" >> /root/.bashrc \
@@ -116,7 +116,7 @@ RUN sed -i '/int qverify;/s/^/extern /' ./externals.h \
116116
WORKDIR /opt
117117

118118
# Install ObsPy
119-
RUN pip3 install obspy
119+
RUN pip3 install obspy --break-system-packages
120120

121121
# Get and install PyRocko - https://pyrocko.org/docs/current/install/system/linux/index.html
122122
WORKDIR /opt

0 commit comments

Comments
 (0)