2024-08-22 07:58:33 UTC
62.4 MB
/opt/java/openjdk
JAVA_VERSIONjdk-22.0.2+9
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 - 6.25% (3.9 MB)
[#001] sha256:fcb1949836a78536caed9d385bba3def5c0b3e61a39783f843784225c480f4bc - 14.55% (9.07 MB)
[#002] sha256:51fed4a34e643cfbb714bd7083f2d2a36bce1c0b913d450764b0025b207b3e06 - 79.2% (49.4 MB)
[#003] sha256:b035e9f7a8c0524da06ed33a2b626673b0c421b622b50f01579705d78208bd06 - 0.0% (140 Bytes)
[#004] sha256:1294c90da771d97170869fdc6f166798906a5de8a52179e39c69b4a01cfbe40e - 0.0% (2.06 KB)
/bin/sh -c #(nop) ADD file:ee5bb8409915b11413f44cce4c22fed658aba4fb078a448e08dd4ac9a23581f2 in /
2024-09-06 22:44:11 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache fontconfig ttf-dejavu ca-certificates p11-kit-trust musl-locales musl-locales-lang tzdata coreutils openssl ; rm -rf /var/cache/apk/* # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-22.0.2+9
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in aarch64) ESUM='749e7372a7dba0de632592fe55a0e387d96922c84dcdc039e0efc1f7ecfcd70e'; BINARY_URL='https://github.com/adoptium/temurin22-binaries/releases/download/jdk-22.0.2%2B9/OpenJDK22U-jre_aarch64_alpine-linux_hotspot_22.0.2_9.tar.gz'; ;; x86_64) ESUM='459342f5210cfd185aeed05abdc052fcd61cf6ff066541919b786236d69c5737'; BINARY_URL='https://github.com/adoptium/temurin22-binaries/releases/download/jdk-22.0.2%2B9/OpenJDK22U-jre_x64_alpine-linux_hotspot_22.0.2_9.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget -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; # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.