Skip to content

Commit

Permalink
Use break system packages (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
u8sand committed Jul 3, 2024
1 parent 635445e commit 369f6ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions compose/templates/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ RUN set -x \
python3-dev \
python3-pip \
&& rm -rf /var/lib/apt/lists/* \
&& pip3 install --no-cache-dir --upgrade pip
&& pip3 install --break-system-packages --no-cache-dir --upgrade pip

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

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

{%- endif %}

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

# BEGIN CATALOG
COPY catalog_helper.py /bin/appyter-catalog-helper
Expand Down

0 comments on commit 369f6ca

Please sign in to comment.