From 367abcc24826f2c109150a1497d2e0c2f53791ea Mon Sep 17 00:00:00 2001 From: Quantum Date: Tue, 20 Aug 2024 02:39:15 -0400 Subject: [PATCH] Install setuptools when building docker Fixes #1182 Closes #1184 --- .docker/tier1/Dockerfile | 2 +- .docker/tier2/Dockerfile | 2 +- .docker/tier3/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.docker/tier1/Dockerfile b/.docker/tier1/Dockerfile index 773ea874f..645dbdd28 100644 --- a/.docker/tier1/Dockerfile +++ b/.docker/tier1/Dockerfile @@ -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 && \ diff --git a/.docker/tier2/Dockerfile b/.docker/tier2/Dockerfile index d809418e1..7d3239b85 100644 --- a/.docker/tier2/Dockerfile +++ b/.docker/tier2/Dockerfile @@ -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 && \ diff --git a/.docker/tier3/Dockerfile b/.docker/tier3/Dockerfile index a1287bd2d..671b32b39 100644 --- a/.docker/tier3/Dockerfile +++ b/.docker/tier3/Dockerfile @@ -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 && \