labyrinth (v0.0.2)
Installation
docker pull gittr.ch/java/labyrinth:v0.0.2
sha256:ac0f1e775269b4c7fb8ec97881efdb960014694cb7fb4880c7c656413d04de1e
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 file:02d09040ba83c72a3546bb27d1cd2d3404d6a6d2d2cb979f6c4edf2dc690e8b3 in /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-08T22:02:24Z |
LABEL org.opencontainers.image.revision=fe84501d4dd6269dc75b45adcb7e5eed137f494c |
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-08T22:02:24Z |
org.opencontainers.image.revision | fe84501d4dd6269dc75b45adcb7e5eed137f494c |
org.opencontainers.image.source | https://gittr.ch/java/labyrinth-server.git |
org.opencontainers.image.url | https://gittr.ch/java/labyrinth-server |
Details
2023-04-09 00:03:22 +02:00
Versions (7)
View all
Container
1
OCI / Docker
linux/amd64
211 MiB