install: update

This commit is contained in:
undefined committed 2021-07-08 16:31:43 +08:00
1 parent 8d15219757
commit 215a3d07e0
5 files changed
+17 -16

No files matched your search

+6 -7
View File
@@ -1,12 +1,5 @@
FROM node:14
ADD ./entrypoint.sh /root/entrypoint.sh
ADD ./judge.yaml /root/judge.yaml
RUN yarn global add pm2 @hydrooj/hydrojudge && \
wget https://s3.undefined.moe/file/executor-amd64 -O /usr/bin/sandbox && \
chmod +x /usr/bin/sandbox
RUN apt-get -qq update && \
apt-get install -y \
gcc \
@@ -24,6 +17,12 @@ RUN apt-get -qq update && \
mono-runtime \
mono-mcs
ADD ./entrypoint.sh /root/entrypoint.sh
ADD ./judge.yaml /root/judge.yaml
RUN chmod +x /root/entrypoint.sh
RUN yarn global add pm2 @hydrooj/hydrojudge && \
wget https://s3.undefined.moe/file/executor-amd64 -O /usr/bin/sandbox && \
chmod +x /usr/bin/sandbox
ENTRYPOINT /root/entrypoint.sh