labyrinth (latest)
Installation
docker pull gittr.ch/java/labyrinth:latest
sha256:085baf6a1691e4f285566c847d7c97de4b42f91e64031ee0296d81c3347023c7
Image Layers
ADD file:8b1e79f91081eb527b455431af58e823d8b84d9d0c8e5c47cb7bda7507954ae4 in / |
CMD ["bash"] |
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/* |
ENV JAVA_HOME=/usr/local/openjdk-17 |
ENV PATH=/usr/local/openjdk-17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
ENV LANG=C.UTF-8 |
ENV JAVA_VERSION=17.0.2 |
/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz'; downloadSha256='0022753d0cceecacdd3a795dd4cea2bd7ffdf9dc06e22ffd1be98411742fbb44'; ;; 'arm64') downloadUrl='https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-aarch64_bin.tar.gz'; downloadSha256='13bfd976acf8803f862e82c7113fb0e9311ca5458b1decaef8a09ffd91119fa4'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget ; rm -rf /var/lib/apt/lists/*; wget --progress=dot:giga -O openjdk.tgz "$downloadUrl"; echo "$downloadSha256 *openjdk.tgz" | sha256sum --strict --check -; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/lib/security/cacerts"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version |
CMD ["jshell"] |
COPY multi:6485a144cbf68750de3dc03097c68e5b8e1d64d3de16f50de128dc369cdd4709 in /app/ |
/bin/sh -c rm /app/*-sources.jar |
/bin/sh -c mv /app/*.jar /app/app.jar |
CMD ["/bin/sh" "-c" "java -Dfritteli.labyrinth.server.host=0.0.0.0 -Dfritteli.labyrinth.server.port=80 -jar /app/app.jar"] |
LABEL org.opencontainers.image.created=2023-04-16T22:33:18Z |
LABEL org.opencontainers.image.revision=d9613b03ca6000c2cacef4bd84b5cc20aa78f4df |
LABEL org.opencontainers.image.source=https://gittr.ch/java/labyrinth-server.git |
LABEL org.opencontainers.image.url=https://gittr.ch/java/labyrinth-server |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2023-04-16T22:33:18Z |
org.opencontainers.image.revision | d9613b03ca6000c2cacef4bd84b5cc20aa78f4df |
org.opencontainers.image.source | https://gittr.ch/java/labyrinth-server.git |
org.opencontainers.image.url | https://gittr.ch/java/labyrinth-server |
Details
2023-04-17 00:33:52 +02:00
Versions (7)
View all
Container
5
OCI / Docker
linux/amd64
232 MiB