Skip to content

Commit 0f00a4c

Browse files
committed
attempt to fix docker build
1 parent ed6d3ba commit 0f00a4c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ RUN apt-get install -y --no-install-recommends \
3535
python3-tk \
3636
python3-venv \
3737
python3-pip && \
38-
pip3 install --no-cache-dir --upgrade setuptools && \
38+
pip3 install --break-system-packages --no-cache-dir --upgrade setuptools && \
3939
echo "alias python='python3'" >> /root/.bash_aliases && \
4040
echo "alias pip='pip3'" >> /root/.bash_aliases && \
4141
cd /usr/local/bin && ln -s /usr/bin/python3 python && \
4242
cd /usr/local/bin && ln -s /usr/bin/pip3 pip && \
43-
pip install virtualenv abed wheel
43+
pip install --break-system-packages virtualenv abed wheel
4444

4545
# Set the default shell to bash
4646
RUN mv /bin/sh /bin/sh.old && cp /bin/bash /bin/sh
@@ -58,7 +58,7 @@ RUN git clone --recurse-submodules https://github.com/alan-turing-institute/TCPD
5858
RUN mkdir -p /TCPDBench/datasets && cp TCPD/export/*.json /TCPDBench/datasets/
5959

6060
# Install Python dependencies
61-
RUN pip install -r /TCPDBench/analysis/requirements.txt
61+
RUN pip install --break-system-packages -r /TCPDBench/analysis/requirements.txt
6262

6363
# Install R dependencies
6464
RUN Rscript -e "install.packages(c('argparse', 'exactRankTests'))"

0 commit comments

Comments
 (0)