Skip to content

Commit

Permalink
Fix No module named 'distutils' (#43)
Browse files Browse the repository at this point in the history
Co-authored-by: Le Bao Hiep <baohiep2013@gmail.com>
  • Loading branch information
giorzang and hieplpvip authored Aug 6, 2024
1 parent b7f818a commit 970ad62
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .docker/tier1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN ARCH=$([ $(uname -m) = "x86_64" ] && echo "amd64" || echo "arm64") && \
RUN mkdir /judge /problems && cd /judge && \
curl -L https://github.com/VNOI-Admin/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 @@ -16,7 +16,7 @@ RUN ARCH=$([ $(uname -m) = "x86_64" ] && echo "amd64" || echo "arm64") && \
RUN mkdir /judge /problems && cd /judge && \
curl -L https://github.com/VNOI-Admin/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 @@ -16,7 +16,7 @@ RUN ARCH=$([ $(uname -m) = "x86_64" ] && echo "amd64" || echo "arm64") && \
RUN mkdir /judge /problems && cd /judge && \
curl -L https://github.com/VNOI-Admin/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/tiericpc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG TAG=master
RUN mkdir /judge /problems && cd /judge && \
curl -L https://github.com/VNOI-Admin/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/tiervnoj/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ENV PATH="/opt/kotlin/bin:/opt/pypy2/bin:/opt/pypy3/bin:/home/judge/.cargo/bin:$
RUN mkdir /judge /problems && cd /judge && \
curl -L https://github.com/VNOI-Admin/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 970ad62

Please sign in to comment.