Skip to content

Commit 369f6ca

Browse files
committed
Use break system packages (?)
1 parent 635445e commit 369f6ca

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

compose/templates/Dockerfile.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ RUN set -x \
1919
python3-dev \
2020
python3-pip \
2121
&& rm -rf /var/lib/apt/lists/* \
22-
&& pip3 install --no-cache-dir --upgrade pip
22+
&& pip3 install --break-system-packages --no-cache-dir --upgrade pip
2323

2424
RUN set -x \
2525
&& echo "Installing jupyter kernel..." \
26-
&& pip3 install --no-cache-dir ipython_genutils ipykernel \
26+
&& pip3 install --break-system-packages --no-cache-dir ipython_genutils ipykernel \
2727
&& python3 -m ipykernel install
2828

2929
{%- if os.path.isfile(os.path.join(appyter_path, 'deps.txt')) %}
@@ -70,15 +70,15 @@ RUN set -x \
7070
ADD requirements.txt /app/requirements.txt
7171
RUN set -x \
7272
&& echo "Installing python dependencies from requirements.txt..." \
73-
&& pip3 install --no-cache-dir -r /app/requirements.txt \
73+
&& pip3 install --break-system-packages --no-cache-dir -r /app/requirements.txt \
7474
&& rm /app/requirements.txt
7575

7676
{%- endif %}
7777

7878
ARG appyter_version=appyter[production]@git+https://github.com/Maayanlab/appyter
7979
RUN set -x \
8080
&& echo "Installing appyter..." \
81-
&& pip3 install --no-cache-dir --upgrade ${appyter_version}
81+
&& pip3 install --break-system-packages --no-cache-dir --upgrade ${appyter_version}
8282

8383
# BEGIN CATALOG
8484
COPY catalog_helper.py /bin/appyter-catalog-helper

0 commit comments

Comments
 (0)