Skip to content

Commit

Permalink
Install setuptools when building docker
Browse files Browse the repository at this point in the history
Fixes #1182
Closes #1184
  • Loading branch information
quantum5 committed Aug 20, 2024
1 parent bbaa092 commit 367abcc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .docker/tier1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG TAG=master
RUN mkdir /judge /problems && cd /judge && \
curl -L https://github.com/DMOJ/judge-server/archive/"${TAG}".tar.gz | tar -xz --strip-components=1 && \
python3 -m venv --prompt=DMOJ /env && \
/env/bin/pip3 install cython && \
/env/bin/pip3 install cython setuptools && \
/env/bin/pip3 install -e . && \
/env/bin/python3 setup.py develop && \
HOME=~judge . ~judge/.profile && \
Expand Down
2 changes: 1 addition & 1 deletion .docker/tier2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG TAG=master
RUN mkdir /judge /problems && cd /judge && \
curl -L https://github.com/DMOJ/judge-server/archive/"${TAG}".tar.gz | tar -xz --strip-components=1 && \
python3 -m venv --prompt=DMOJ /env && \
/env/bin/pip3 install cython && \
/env/bin/pip3 install cython setuptools && \
/env/bin/pip3 install -e . && \
/env/bin/python3 setup.py develop && \
HOME=~judge . ~judge/.profile && \
Expand Down
2 changes: 1 addition & 1 deletion .docker/tier3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG TAG=master
RUN mkdir /judge /problems && cd /judge && \
curl -L https://github.com/DMOJ/judge-server/archive/"${TAG}".tar.gz | tar -xz --strip-components=1 && \
python3 -m venv --prompt=DMOJ /env && \
/env/bin/pip3 install cython && \
/env/bin/pip3 install cython setuptools && \
/env/bin/pip3 install -e . && \
/env/bin/python3 setup.py develop && \
HOME=~judge . ~judge/.profile && \
Expand Down

0 comments on commit 367abcc

Please sign in to comment.