Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fgosew authored Jul 4, 2024
1 parent 38be2ff commit 5a4b42b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tutorcodejail/templates/codejail/build/codejail/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN apt-get update -y && \
libffi-dev \
liblzma-dev \
python3-openssl \
singularity \
git && \
apt-get -y clean && \
apt-get -y autoremove && \
Expand Down Expand Up @@ -195,9 +196,6 @@ RUN . "/home/sandbox/.bash_profile" && \

USER root

#to fix a bug where current version sage (10.3, python 3.11.9) requires singular to be installed / binary to be available
RUN apt install -y singularity

# Allows you to add extra pip requirements to your codejail sandbox.
{% if CODEJAIL_EXTRA_PIP_REQUIREMENTS is defined %}
{% for extra_requirements in CODEJAIL_EXTRA_PIP_REQUIREMENTS %}RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared /sandbox/venv/bin/pip install '{{ extra_requirements }}'
Expand Down

0 comments on commit 5a4b42b

Please sign in to comment.