You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
651 B
Docker
29 lines
651 B
Docker
FROM node:14
|
|
|
|
RUN apt-get -qq update && \
|
|
apt-get install -y \
|
|
gcc \
|
|
python3 \
|
|
g++ \
|
|
fp-compiler \
|
|
openjdk-8-jdk-headless \
|
|
python \
|
|
php7.0-cli \
|
|
rustc \
|
|
haskell-platform \
|
|
libjavascriptcoregtk-4.0-bin \
|
|
golang \
|
|
ruby \
|
|
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://github.com/criyle/go-judge/releases/download/v1.6.0/executorserver_1.6.0_linux_amd64 -O /usr/bin/sandbox && \
|
|
chmod +x /usr/bin/sandbox
|
|
|
|
ENTRYPOINT /root/entrypoint.sh
|