2023-06-15 05:13:22 UTC
194 MB
/opt/java/openjdk
JAVA_VERSIONjdk-17.0.7+7
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:31e352740f534f9ad170f75378a84fe453d6156e40700b882d737a8f4a6988a3 - 1.67% (3.24 MB)
[#001] sha256:8aadc9aaa732ac5b0edd00545607971071fa1868047a65249e483ba2443982e6 - 3.77% (7.29 MB)
[#002] sha256:fc61c42d98a4031b53e224aa8cc9ebeed087bfcaee2312db7bdef6c15b75ace6 - 94.56% (183 MB)
[#003] sha256:8b872839787b43a160ad35873d407c6ed86e91883cc290c9b0d3eea46d171cb9 - 0.0% (177 Bytes)
/bin/sh -c #(nop) ADD file:1da756d12551a0e3e793e02ef87432d69d4968937bd11bed0af215db19dd94cd in /
2023-06-14 20:41:59 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-06-15 05:11:52 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk
2023-06-15 05:11:52 UTC/bin/sh -c #(nop) ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-06-15 05:11:52 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2023-06-15 05:11:54 UTC/bin/sh -c apk add --no-cache fontconfig libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib && rm -rf /var/cache/apk/*
2023-06-15 05:13:09 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=jdk-17.0.7+7
2023-06-15 05:13:19 UTC/bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in amd64|x86_64) ESUM='b6edac2fa669876ef16b4895b36b61d01066626e7a69feba2acc19760c8d18cb'; BINARY_URL='https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.7%2B7/OpenJDK17U-jdk_x64_alpine-linux_hotspot_17.0.7_7.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}/src.zip;
2023-06-15 05:13:22 UTC/bin/sh -c echo Verifying install ... && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java && echo javac --version && javac --version && echo java --version && java --version && echo Complete.
2023-06-15 05:13:22 UTC/bin/sh -c #(nop) CMD ["jshell"]
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.