s2oj-web (10ee5ca)

Published 2023-04-08 07:25:46 +00:00 by baoshuo in baoshuo/S2OJ

Installation

docker pull git.m.ac/baoshuo/s2oj-web:10ee5ca
sha256:3a30c71c53f6a2e0eb72f775c7c35443f097d9ed195709f99f0d9ccc99ed43e4

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 && (echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu jammy main" | tee /etc/apt/sources.list.d/ondrej-php.list) && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C && apt-get update && for pkg in php7.4 php7.4-yaml php7.4-xml php7.4-dev php7.4-zip php7.4-mysql php7.4-mbstring php7.4-gd php7.4-curl php7.4-imagick libseccomp-dev git vim ntp zip unzip curl wget apache2 libapache2-mod-xsendfile php-pear mysql-client build-essential fp-compiler re2c libseccomp-dev libyaml-dev python2.7 python3.10 python3-requests openjdk-8-jdk openjdk-11-jdk openjdk-17-jdk language-pack-zh-hans cron 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:d43fa4866598fb7fa6e929794bbceda6b7a0ae89754f9b1a3df926e5a2d894aa in /opt/uoj
WORKDIR /opt/uoj
/bin/bash -c sh web/install.sh -p && echo -e "if [ ! -f \"/var/uoj_data/.UOJSetupDone\" ]; then\n cd /opt/uoj/web && sh install.sh -i\nfi\nservice ntp start\nservice apache2 start\ncd /opt/uoj/web && sh install.sh -i\nexec bash\n" >/opt/up && chmod +x /opt/up
ENV LANG=C.UTF-8 TZ=Asia/Shanghai
EXPOSE 80
CMD ["/bin/bash" "-c" "/opt/up"]
LABEL org.opencontainers.image.created=2023-04-08T07:25:02Z
LABEL org.opencontainers.image.revision=10ee5ca049bdab55a85fce0bb3ea3bfacb118782
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-04-08T07:25:02Z
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision 10ee5ca049bdab55a85fce0bb3ea3bfacb118782
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
Container
2023-04-08 07:25:46 +00:00
0
OCI / Docker
linux/amd64
1.0 GiB
Versions (25) View all
d627490 2023-11-19
latest 2023-11-19
master 2023-11-19
e0f3dbf 2023-11-18
b23313b 2023-11-12