sha256:d19b487d0613b8d6ffdfeaceeb84576346f23486639b7f7e9b3c979e6e377f7a
2025-08-16 08:48:25 CST
296 MB
/usr/java/openjdk-25
JAVA_VERSION25
LANGC.UTF-8
PATH/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:500d7b2546c4e2118109493e62a416f6e12fe0670ed784ab0a5ada2787573be5 - 15.94% (47.2 MB)
[#001] sha256:dc6ad5d5a48937ae636b7d1387fce61ca66f85bcde401fec14d2e6c4ead9b9c3 - 12.24% (36.2 MB)
[#002] sha256:e1a166cf2b0e741aee65ec9832dc660899b85c4ea2911435fe68f17a7e70b2ce - 71.83% (213 MB)
ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=25
2025-08-16 08:48:25 CST (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/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_linux-x64_bin.tar.gz'; downloadSha256='59cdcaf255add4721de38eb411d4ecfe779356b61fb671aee63c7dec78054c2b'; ;; 'aarch64') downloadUrl='https://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_linux-aarch64_bin.tar.gz'; downloadSha256='f4a8d27429458a529148f90ebafcd1ae9b1968fa323f9e5e40d579a5c8c0288f'; ;; *) 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
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)CMD ["jshell"]
sha256:1bb71de6385cbaed9c5b34138609ba96cec396dfc6e47534b67e389fef3d0d07
2025-09-11 06:01:20 CST
3.53 GB
C:\openjdk-25
JAVA_SHA25685bcc178461e2cb3c549ab9ca9dfa73afd54c09a175d6510d0884071867137d3
JAVA_URLhttps://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_windows-x64_bin.zip
JAVA_VERSION25
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 58.44% (2.06 GB)
[#001] sha256:2e9750fac680d8e6b6c2e0a6f7718b1ccb76f68a6ebd9f9da4c5e470458c7e72 - 35.77% (1.26 GB)
[#002] sha256:5d2162e6212abf0fe7fd058a4fd8dccecce82af3c46a9846440033ef9dfb9aca - 0.0% (1.26 KB)
[#003] sha256:22deeae3188ab8e08e496955882079b9a8cde216c4be376668a4059d1a3ab3d5 - 0.01% (338 KB)
[#004] sha256:7c1c3053af3ae8a684afc80497a71e6fb773728ca7e436cbc524500ed1117082 - 0.0% (1.28 KB)
[#005] sha256:72c791af07df9cb529b4ae058233e39a4a0eb2d9bcab661874a06524dbbb3832 - 0.01% (320 KB)
[#006] sha256:1a39b844e58c8e7de4f29bef65034487c4020bfc79c66bffde5c59d82bf9436f - 0.0% (1.26 KB)
[#007] sha256:f0ab79e14ba22f0d22e3f2321409e0376db521369bcef4d3f78e01be77621426 - 0.0% (1.26 KB)
[#008] sha256:4f06d02fe555a4fcf595840635668a77886b5855e3728bfcfdb2bb0fb330597a - 0.0% (1.29 KB)
[#009] sha256:cfa5698adf74e04e7b7203658a90c5f673a06cc848fa301eb66b6cb767de8df5 - 5.77% (209 MB)
[#010] sha256:f7bd0d8187b281f0af15c2562d3e4f474fa7313eda05902e639420e4d5730bbf - 0.0% (1.26 KB)
Apply image 10.0.26100.2605
2025-09-06 10:36:14 CSTInstall update 10.0.26100.6584
2025-09-11 05:49:48 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-09-11 06:00:50 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host 'Enabling TLS 1.2 (https://githubengineering.com/crypto-removal-notice/) ...'; $tls12RegBase = 'HKLM:\\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2'; if (Test-Path $tls12RegBase) { throw ('"{0}" already exists!' -f $tls12RegBase) }; New-Item -Path ('{0}/Client' -f $tls12RegBase) -Force; New-Item -Path ('{0}/Server' -f $tls12RegBase) -Force; New-ItemProperty -Path ('{0}/Client' -f $tls12RegBase) -Name 'DisabledByDefault' -PropertyType DWORD -Value 0 -Force; New-ItemProperty -Path ('{0}/Client' -f $tls12RegBase) -Name 'Enabled' -PropertyType DWORD -Value 1 -Force; New-ItemProperty -Path ('{0}/Server' -f $tls12RegBase) -Name 'DisabledByDefault' -PropertyType DWORD -Value 0 -Force; New-ItemProperty -Path ('{0}/Server' -f $tls12RegBase) -Name 'Enabled' -PropertyType DWORD -Value 1 -Force; Write-Host 'Complete.'
2025-09-11 06:00:51 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-09-11 06:00:56 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $newPath = ('{0}\bin;{1}' -f $env:JAVA_HOME, $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); setx /M PATH $newPath; Write-Host 'Complete.'
2025-09-11 06:00:57 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25
2025-09-11 06:00:58 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_windows-x64_bin.zip
2025-09-11 06:00:58 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=85bcc178461e2cb3c549ab9ca9dfa73afd54c09a175d6510d0884071867137d3
2025-09-11 06:01:20 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:JAVA_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $env:JAVA_URL -OutFile 'openjdk.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:JAVA_SHA256); if ((Get-FileHash openjdk.zip -Algorithm sha256).Hash -ne $env:JAVA_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; New-Item -ItemType Directory -Path C:\temp | Out-Null; Expand-Archive openjdk.zip -DestinationPath C:\temp; Move-Item -Path C:\temp\* -Destination $env:JAVA_HOME; Remove-Item C:\temp; Write-Host 'Removing ...'; Remove-Item openjdk.zip -Force; Write-Host 'Verifying install ...'; Write-Host ' javac --version'; javac --version; Write-Host ' java --version'; java --version; Write-Host 'Complete.'
2025-09-11 06:01:20 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:3e0203b19549b75152d9ace564abd0e2475ba50b45e8490a8dbc2ce5b8c3b233
2025-09-11 05:59:29 CST
2.33 GB
C:\openjdk-25
JAVA_SHA25685bcc178461e2cb3c549ab9ca9dfa73afd54c09a175d6510d0884071867137d3
JAVA_URLhttps://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_windows-x64_bin.zip
JAVA_VERSION25
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 58.45% (1.36 GB)
[#001] sha256:3b109a50da182bf38f697ad080cf5640df286bdfc5e6a1f2f6b2002c48534385 - 32.78% (782 MB)
[#002] sha256:9811425449e84dcbd33b2ae7b7f37c3b7fd53dcd7b0401fd37de5fddd1a09096 - 0.0% (1.28 KB)
[#003] sha256:0e846c6dd3e143320da9b7961b894adca88516a63cf6882dab95406042615b89 - 0.01% (347 KB)
[#004] sha256:0877c7465661e9fe34ab7de4f50f268467906a0827d4d958c1e27cab6a4ea338 - 0.0% (1.28 KB)
[#005] sha256:1b19d989955aa33708d550def642f04fe1a82a7fdddb898fefd4f4498e434966 - 0.01% (329 KB)
[#006] sha256:12b26f4cdc9dbf368aaee3ce2c6fe46b4f4263b91b53fbdb5fe81e9a8e7906b5 - 0.0% (1.31 KB)
[#007] sha256:2376b15f09a2950134e05c435b5d81f3388a8bcb8b6f663f84a8914e81df6468 - 0.0% (1.3 KB)
[#008] sha256:3dcbf5a7b586d794fcd5c9e3b5c47077f64b879e814c71a8d49e88689df3b008 - 0.0% (1.29 KB)
[#009] sha256:e8e06451d295c0cde9c7f1054dee70deb4a36e2e2a027670089a319c6b9a3223 - 8.75% (209 MB)
[#010] sha256:ebbce8fc7e92ed2a88218f3a58282e7d5f2c1c5ecb89f0dc8f964cef6d68e64a - 0.0% (1.3 KB)
Apply image 10.0.20348.2700
2025-09-05 21:15:05 CSTInstall update 10.0.20348.4171
2025-09-11 05:49:08 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-09-11 05:58:55 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host 'Enabling TLS 1.2 (https://githubengineering.com/crypto-removal-notice/) ...'; $tls12RegBase = 'HKLM:\\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2'; if (Test-Path $tls12RegBase) { throw ('"{0}" already exists!' -f $tls12RegBase) }; New-Item -Path ('{0}/Client' -f $tls12RegBase) -Force; New-Item -Path ('{0}/Server' -f $tls12RegBase) -Force; New-ItemProperty -Path ('{0}/Client' -f $tls12RegBase) -Name 'DisabledByDefault' -PropertyType DWORD -Value 0 -Force; New-ItemProperty -Path ('{0}/Client' -f $tls12RegBase) -Name 'Enabled' -PropertyType DWORD -Value 1 -Force; New-ItemProperty -Path ('{0}/Server' -f $tls12RegBase) -Name 'DisabledByDefault' -PropertyType DWORD -Value 0 -Force; New-ItemProperty -Path ('{0}/Server' -f $tls12RegBase) -Name 'Enabled' -PropertyType DWORD -Value 1 -Force; Write-Host 'Complete.'
2025-09-11 05:58:56 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-09-11 05:59:02 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $newPath = ('{0}\bin;{1}' -f $env:JAVA_HOME, $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); setx /M PATH $newPath; Write-Host 'Complete.'
2025-09-11 05:59:02 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25
2025-09-11 05:59:03 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_windows-x64_bin.zip
2025-09-11 05:59:03 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=85bcc178461e2cb3c549ab9ca9dfa73afd54c09a175d6510d0884071867137d3
2025-09-11 05:59:28 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:JAVA_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $env:JAVA_URL -OutFile 'openjdk.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:JAVA_SHA256); if ((Get-FileHash openjdk.zip -Algorithm sha256).Hash -ne $env:JAVA_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; New-Item -ItemType Directory -Path C:\temp | Out-Null; Expand-Archive openjdk.zip -DestinationPath C:\temp; Move-Item -Path C:\temp\* -Destination $env:JAVA_HOME; Remove-Item C:\temp; Write-Host 'Removing ...'; Remove-Item openjdk.zip -Force; Write-Host 'Verifying install ...'; Write-Host ' javac --version'; javac --version; Write-Host ' java --version'; java --version; Write-Host 'Complete.'
2025-09-11 05:59:29 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:72a6f6a8abc78c39946ee1a3226912f417977f2e62c293bc3d48931aa96b6a3f
2025-08-16 08:48:25 CST
293 MB
/usr/java/openjdk-25
JAVA_VERSION25
LANGC.UTF-8
PATH/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:b5e369658cc0fdedce73e0479a85cd17ba8a09435fc3b21f6afb7e0d4783429d - 15.64% (45.9 MB)
[#001] sha256:7f251bedb6d0a7854cec601a06650a41a8800628c25948fd9b15b8018354d6f6 - 12.5% (36.6 MB)
[#002] sha256:695473080251df88385085b9e25be2d5df959c8470422d01ac15c587b472ca7f - 71.86% (211 MB)
ADD oraclelinux-9-slim-arm64v8-rootfs.tar.xz / # buildkit
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-08-16 08:48:25 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=25
2025-08-16 08:48:25 CST (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/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_linux-x64_bin.tar.gz'; downloadSha256='59cdcaf255add4721de38eb411d4ecfe779356b61fb671aee63c7dec78054c2b'; ;; 'aarch64') downloadUrl='https://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL/openjdk-25_linux-aarch64_bin.tar.gz'; downloadSha256='f4a8d27429458a529148f90ebafcd1ae9b1968fa323f9e5e40d579a5c8c0288f'; ;; *) 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
2025-08-16 08:48:25 CST (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.