Skip to content

Commit 5d7a928

Browse files
committed
docker: really work around rustup issue
1 parent 193fcf5 commit 5d7a928

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.docker/tier1/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ARG TAG=master
44
RUN mkdir /judge && cd /judge && \
55
curl -L https://github.com/DMOJ/judge-server/archive/"${TAG}".tar.gz | tar -xz --strip-components=1 && \
66
pip3 install -e . && \
7-
sed -i 's/source/./' ~judge/.profile && \
87
. ~judge/.profile && \
98
runuser -u judge -w PATH -- dmoj-autoconf -V > /judge-runtime-paths.yml && \
109
echo ' crt_x86_in_lib32: true' >> /judge-runtime-paths.yml

.docker/tier2/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ARG TAG=master
44
RUN mkdir /judge && cd /judge && \
55
curl -L https://github.com/DMOJ/judge-server/archive/"${TAG}".tar.gz | tar -xz --strip-components=1 && \
66
pip3 install -e . && \
7-
sed -i 's/source/./' ~judge/.profile && \
87
. ~judge/.profile && \
98
runuser -u judge -w PATH -- dmoj-autoconf -V > /judge-runtime-paths.yml && \
109
echo ' crt_x86_in_lib32: true' >> /judge-runtime-paths.yml

.docker/tier3/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG TAG=master
44
RUN mkdir /judge && cd /judge && \
55
curl -L https://github.com/DMOJ/judge-server/archive/"${TAG}".tar.gz | tar -xz --strip-components=1 && \
66
pip3 install -e . && \
7-
sed -i 's/source/./' ~judge/.profile && \
7+
sed -i 's/source "$HOME/. "\/home\/judge/' ~judge/.profile && \
88
. ~judge/.profile && \
99
runuser -u judge -w PATH -- dmoj-autoconf -V > /judge-runtime-paths.yml && \
1010
echo ' crt_x86_in_lib32: true' >> /judge-runtime-paths.yml

0 commit comments

Comments
 (0)