docker: upgrade node and sandbox version (#723)

This commit is contained in:
Yang Gao authored and GitHub committed 2024-01-28 10:57:47 +08:00
1 parent a0f3ee0328
commit d99e11e3e2
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:18-bullseye
ADD https://github.com/criyle/go-judge/releases/download/v1.6.3/executorserver_1.6.3_linux_amd64 /usr/bin/sandbox
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:20-bookworm
ADD https://github.com/criyle/go-judge/releases/download/v1.8.0/go-judge_1.8.0_linux_amd64 /usr/bin/sandbox
RUN npm install -g yarn && \
sudo apt-get update && sudo apt-get install gcc g++ && \
mkdir -p /root/.hydro /data/file && chmod +x /usr/bin/sandbox && \
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:14
FROM node:20
ADD ./entrypoint.sh /root/entrypoint.sh
RUN yarn global add pm2 hydrooj @hydrooj/ui-default
RUN chmod +x /root/entrypoint.sh && \
+2 -2
View File
@@ -1,4 +1,4 @@
FROM node:14
FROM node:20
RUN apt-get -qq update && \
apt-get install -y \
@@ -22,7 +22,7 @@ ADD ./judge.yaml /root/judge.yaml
RUN chmod +x /root/entrypoint.sh
RUN yarn global add pm2 @hydrooj/hydrojudge && \
wget https://github.com/criyle/go-judge/releases/download/v1.6.0/executorserver_1.6.0_linux_amd64 -O /usr/bin/sandbox && \
wget https://github.com/criyle/go-judge/releases/download/v1.8.0/go-judge_1.8.0_linux_amd64 -O /usr/bin/sandbox && \
chmod +x /usr/bin/sandbox
ENTRYPOINT /root/entrypoint.sh