labyrinth (v0.0.1)
Installation
docker pull gittr.ch/java/labyrinth:v0.0.1
sha256:8fac7a7a61725cd08f2af0bb975a869e63bd7f69672be61d009a95e2542b0544
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:62a84071fa7919e767fe843bd808ae74ad3a378a279d13fcd7c958f8fb4a1e43 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-03-31T22:57:19Z |
LABEL org.opencontainers.image.revision=523f61002422a40e7a446c47d9ef55aed58ebf6e |
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-03-31T22:57:19Z |
org.opencontainers.image.revision | 523f61002422a40e7a446c47d9ef55aed58ebf6e |
org.opencontainers.image.source | https://gittr.ch/java/labyrinth-server.git |
org.opencontainers.image.url | https://gittr.ch/java/labyrinth-server |
Details
2023-04-01 00:57:58 +02:00
Versions (7)
View all
Container
1
OCI / Docker
linux/amd64
216 MiB