s2oj-judger (c5980cf1)
Installation
docker pull git.m.ac/baoshuo/s2oj-judger:c5980cf1
sha256:30a13324ca6484b63b72daa6ae9863f824ab3c10a86f1d1af6ab604df0439498
Image Layers
ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:c8ef6447752cab2541ffca9e3cfa27d581f3491bc8f356f6eafd951243609341 in / |
CMD ["/bin/bash"] |
SHELL [/bin/bash -c] |
ENV DEBIAN_FRONTEND=noninteractive |
/bin/bash -c apt-get update && apt-get install -y --no-install-recommends gnupg ca-certificates apt-transport-https && apt-get update && for pkg in vim ntp zip unzip curl wget build-essential fp-compiler python2.7 python3.10 python3-requests libseccomp-dev openjdk-8-jdk openjdk-11-jdk openjdk-17-jdk tzdata; do cnt=10 && while ! apt-get install -y "$pkg"; do if [ $cnt -le 0 ]; then echo "Failed to install $pkg" && exit 1; fi; cnt=$((cnt - 1)); done; done |
ADD dir:4f00541eecda0626eea3a7d5e685a26811c55cc6c50156020aba31dae571ca6b in /opt/uoj_judger |
WORKDIR /opt/uoj_judger |
/bin/bash -c sh install.sh -p && echo -e "if [ ! -f \"/opt/uoj_judger/.conf.json\" ]; then\n cd /opt/uoj_judger && sh install.sh -i\nfi\nservice ntp start\nsu judger -c \"/opt/uoj_judger/judge_client start\"\nexec bash\n" >/opt/up && chmod +x /opt/up |
ENV LANG=C.UTF-8 TZ=Asia/Shanghai |
EXPOSE 2333 |
CMD ["/bin/bash" "-c" "/opt/up"] |
LABEL org.opencontainers.image.created=2023-03-22T06:30:56Z |
LABEL org.opencontainers.image.revision=c5980cf1fd0ea0c0f4f3ae02f57c0f80d021e90f |
LABEL org.opencontainers.image.source=https://git.m.ac/baoshuo/S2OJ.git |
LABEL org.opencontainers.image.url=https://git.m.ac/baoshuo/S2OJ |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2023-03-22T06:30:56Z |
org.opencontainers.image.ref.name | ubuntu |
org.opencontainers.image.revision | c5980cf1fd0ea0c0f4f3ae02f57c0f80d021e90f |
org.opencontainers.image.source | https://git.m.ac/baoshuo/S2OJ.git |
org.opencontainers.image.url | https://git.m.ac/baoshuo/S2OJ |
org.opencontainers.image.version | 22.04 |
Details
2023-03-22 06:31:25 +00:00
Versions (25)
View all
Container
0
OCI / Docker
linux/amd64
951 MiB