2022-10-07 16:54:15 UTC
199 MB
/opt/java/openjdk
JAVA_VERSIONjdk-11.0.16.1+1
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:213ec9aee27d8be045c6a92b7eac22c9a64b44558193775a1a7f626352392b49 - 1.35% (2.68 MB)
[#001] sha256:4e5835cc7e6eb64b728c9694dd72d8aede877af0a2ec44f981847853af9abbf5 - 5.78% (11.5 MB)
[#002] sha256:fba20fc96420980a5e92cbc17d7ed8001550d853c0f3a2d2edab1d439b9f8a12 - 92.87% (184 MB)
[#003] sha256:3be129b993c212fc41b64fa2d86dc4b12ba9c94eaced404bab46dc0c9d72544a - 0.0% (177 Bytes)
/bin/sh -c #(nop) ADD file:2a949686d9886ac7c10582a6c29116fd29d3077d02755e87e111870d63607725 in /
2022-08-09 17:19:53 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2022-10-07 16:53:17 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk
2022-10-07 16:53:17 UTC/bin/sh -c #(nop) ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-10-07 16:53:17 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2022-10-07 16:53:21 UTC/bin/sh -c apk add --no-cache fontconfig libretls musl-locales musl-locales-lang ttf-dejavu tzdata zlib && rm -rf /var/cache/apk/*
2022-10-07 16:53:57 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=jdk-11.0.16.1+1
2022-10-07 16:54:12 UTC/bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in amd64|x86_64) ESUM='327b3bfd1c14e15bf6c7fb4d0c6c3f9406c1282a16e24b1424215d764f687cb6'; BINARY_URL='https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.16.1%2B1/OpenJDK11U-jdk_x64_alpine-linux_hotspot_11.0.16.1_1.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 /tmp/openjdk.tar.gz;
2022-10-07 16:54:15 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.
2022-10-07 16:54:15 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.