2024-07-20 00:52:05 UTC
285 MB
/usr/java/openjdk-24
JAVA_VERSION24-ea+7
LANGC.UTF-8
PATH/usr/java/openjdk-24/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:d9a40b27c30f626a234b4038d1370cabaed0e37737d0a56e3ea84710f110f14c - 16.42% (46.7 MB)
[#001] sha256:2920cc2c11af612b622d60cb0efe552bd6ba226ef084ef8060c17399289d7444 - 12.69% (36.1 MB)
[#002] sha256:ec9a29a9c955047ef4c9646b22e92de51ea17b8c54d6d2c853b342491db359dc - 70.89% (202 MB)
/bin/sh -c #(nop) ADD file:61bb1ff5b435c8d45a692de54806f1a1d44cbd176c28877e360a68f4d0e7de6f in /
2024-07-08 23:20:26 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-24
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-24/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=24-ea+7
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; arch="$(rpm --query --queryformat='%{ARCH}' rpm)"; case "$arch" in 'x86_64') downloadUrl='https://download.java.net/java/early_access/jdk24/7/GPL/openjdk-24-ea+7_linux-x64_bin.tar.gz'; downloadSha256='d175c4cfc7ab8306b42cf88fe0e60b2b827a2106c026ae6d2a3f2e51bbcb60d0'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk24/7/GPL/openjdk-24-ea+7_linux-aarch64_bin.tar.gz'; downloadSha256='5df46f7b64a38a7a34e1b283f6c37b57f8238567b81c3db0f127f348f4842977'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; curl -fL -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*; rm -rf "$JAVA_HOME/lib/security/cacerts"; ln -sT /etc/pki/ca-trust/extracted/java/cacerts "$JAVA_HOME/lib/security/cacerts"; ln -sfT "$JAVA_HOME" /usr/java/default; ln -sfT "$JAVA_HOME" /usr/java/latest; for bin in "$JAVA_HOME/bin/"*; do base="$(basename "$bin")"; [ ! -e "/usr/bin/$base" ]; alternatives --install "/usr/bin/$base" "$base" "$bin" 20000; done; java -Xshare:dump; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version # buildkit
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)CMD ["jshell"]
2024-07-20 00:52:05 UTC
282 MB
/usr/java/openjdk-24
JAVA_VERSION24-ea+7
LANGC.UTF-8
PATH/usr/java/openjdk-24/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:c72f53f7235bf26fdb27eaeb0d712fc1886f19eda2722ef9709dda7424814b9e - 16.14% (45.4 MB)
[#001] sha256:3129baf21359e4eb83f9d1391c216edfe6dce92354dbd70df14232415144a124 - 12.96% (36.5 MB)
[#002] sha256:a0e3e6bd18b64f0aa6f9efbccc1e3343fd11abc3b1d1d81e8f10d22245f2172f - 70.91% (200 MB)
/bin/sh -c #(nop) ADD file:a5d614a69430ac76660689e833533429bd70568280b25af98af60b01a76d6139 in /
2024-07-08 22:40:26 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-24
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-24/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=24-ea+7
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; arch="$(rpm --query --queryformat='%{ARCH}' rpm)"; case "$arch" in 'x86_64') downloadUrl='https://download.java.net/java/early_access/jdk24/7/GPL/openjdk-24-ea+7_linux-x64_bin.tar.gz'; downloadSha256='d175c4cfc7ab8306b42cf88fe0e60b2b827a2106c026ae6d2a3f2e51bbcb60d0'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk24/7/GPL/openjdk-24-ea+7_linux-aarch64_bin.tar.gz'; downloadSha256='5df46f7b64a38a7a34e1b283f6c37b57f8238567b81c3db0f127f348f4842977'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; curl -fL -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*; rm -rf "$JAVA_HOME/lib/security/cacerts"; ln -sT /etc/pki/ca-trust/extracted/java/cacerts "$JAVA_HOME/lib/security/cacerts"; ln -sfT "$JAVA_HOME" /usr/java/default; ln -sfT "$JAVA_HOME" /usr/java/latest; for bin in "$JAVA_HOME/bin/"*; do base="$(basename "$bin")"; [ ! -e "/usr/bin/$base" ]; alternatives --install "/usr/bin/$base" "$base" "$bin" 20000; done; java -Xshare:dump; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version # buildkit
2024-07-20 00:52:05 UTC (buildkit.dockerfile.v0)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.