Skip to content

Commit

Permalink
Revert "temp: workarround to download requirements when the openedx i…
Browse files Browse the repository at this point in the history
…mage isn't tagged"

This reverts commit 97fde40.
  • Loading branch information
MoisesGSalas committed Jun 20, 2024
1 parent 97fde40 commit 6fcc515
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tutorcodejail/templates/codejail/build/codejail/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ RUN $PYENV_ROOT/versions/"$SANDBOX_PYTHON_VERSION"_sandbox/bin/python -m venv --
###### Codejail service code
FROM minimal as code
RUN git clone https://github.com/eduNEXT/codejailservice.git --branch {{ CODEJAIL_SERVICE_VERSION }} --depth 1 /openedx/codejailservice
RUN curl https://raw.githubusercontent.com/openedx/edx-platform/open-release/redwood.master/requirements/edx-sandbox/releases/redwood.txt -o /openedx/redwood.txt
WORKDIR /openedx/codejailservice

###### Install python requirements in virtualenv
Expand All @@ -52,7 +51,7 @@ ENV VIRTUAL_ENV /sandbox/venv/
WORKDIR /var/tmp
RUN mkdir -p common/lib/

COPY --from=code /openedx/redwood.txt redwood.txt
COPY --from={{ DOCKER_IMAGE_OPENEDX }} /openedx/edx-platform/requirements/edx-sandbox/releases/redwood.txt redwood.txt
RUN pip3 install -r redwood.txt

# Allows you to add extra pip requirements to your codejail sandbox.
Expand Down

0 comments on commit 6fcc515

Please sign in to comment.