a-maze-r (latest)
Published 2024-05-18 02:22:25 +02:00 by manuel
Installation
docker pull gittr.ch/java/a-maze-r:latest
sha256:9583a7b453f99da087d78c0d3773b78f72cf5464a2891a4740c6d1eef2ff3590
Image Layers
ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:a5d32dc2ab15ff0d7dbd72af26e361eb1f3e87a0d29ec3a1ceab24ad7b3e6ba9 in / |
CMD ["/bin/bash"] |
ENV JAVA_HOME=/opt/java/openjdk |
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 |
RUN /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit |
ENV JAVA_VERSION=jdk-21.0.3+9 |
RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in aarch64|arm64) ESUM='c7c31bc6f5ab4c4b6f4559e11c2fa9541ae6757ab8da6dd85c29163913bd9238'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.3_9.tar.gz'; ;; amd64|i386:x86-64) ESUM='f1af100c4afca2035f446967323230150cfe5872b5a664d98c86963e5c066e0d'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_x64_linux_hotspot_21.0.3_9.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='aa628c6accc9d075b7b0f2bff6487f8ca0b8f057af31842a85fc8b363e1e10f3'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.3_9.tar.gz'; ;; s390x|s390:64-bit) ESUM='a60dbad08a1977269dec7782f90225107479bfc8d10d2894f437778ae2e2b737'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_s390x_linux_hotspot_21.0.3_9.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit |
RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit |
COPY entrypoint.sh /__cacert_entrypoint.sh # buildkit |
ENTRYPOINT ["/__cacert_entrypoint.sh"] |
COPY multi:b68aae7942f0268d34e74d24fa0f853fdee620631096bb46e9af73bebbcf20d7 in /app/ |
/bin/sh -c rm /app/*-sources.jar |
/bin/sh -c mv /app/*.jar /app/app.jar |
CMD ["/bin/sh" "-c" "java -Dfritteli.maze.server.host=0.0.0.0 -Dfritteli.maze.server.port=80 -jar /app/app.jar"] |
LABEL org.opencontainers.image.created=2024-05-18T00:21:38Z |
LABEL org.opencontainers.image.revision=dbdfb0c8a46e4f3f184949b235fe8c6f4c1ae47c |
LABEL org.opencontainers.image.source=https://gittr.ch/java/maze-server.git |
LABEL org.opencontainers.image.url=https://gittr.ch/java/maze-server |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2024-05-18T00:21:38Z |
org.opencontainers.image.ref.name | ubuntu |
org.opencontainers.image.revision | dbdfb0c8a46e4f3f184949b235fe8c6f4c1ae47c |
org.opencontainers.image.source | https://gittr.ch/java/maze-server.git |
org.opencontainers.image.url | https://gittr.ch/java/maze-server |
org.opencontainers.image.version | 22.04 |
Details
2024-05-18 02:22:25 +02:00
Versions (2)
View all
Container
1
OCI / Docker
linux/amd64
113 MiB