sha256:23483c87b6b2dd803e699ece4283917f20c3bc046f7782baa4a9765d5ff94e4b
2025-07-26 08:48:10 CST
296 MB
/usr/java/openjdk-25
JAVA_VERSION25-ea+33
LANGC.UTF-8
PATH/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:3ea90c3a51a3cc94a38a17741d0850b256e33d657d979bed61186c67db903284 - 15.94% (47.2 MB)
[#001] sha256:3efbb91b63a5e6a0539904aa63d6a90e6f790d7357db762bf23287e4b85e5b5d - 12.24% (36.2 MB)
[#002] sha256:4a9ec237acf02ae8ea3cf10b8037171907274bd8a984fecfed79ee5a9c17af6a - 71.83% (213 MB)
ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=25-ea+33
2025-07-26 08:48:10 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/early_access/jdk25/33/GPL/openjdk-25-ea+33_linux-x64_bin.tar.gz'; downloadSha256='21b88b7a3594b3e04735519f2127ad2e9ff3e93c02b7079b6016da050ae42fc7'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk25/33/GPL/openjdk-25-ea+33_linux-aarch64_bin.tar.gz'; downloadSha256='26f51c38f4da443a22bcb550c307d76b2dd30998661f2674cddefcf21a3bdab8'; ;; *) 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-07-26 08:48:10 CST (buildkit.dockerfile.v0)CMD ["jshell"]
sha256:22de88f9061bdbcc512bdf286596f952df835afa743c0cb66f272be74235858b
2025-07-29 04:28:09 CST
3.46 GB
C:\openjdk-25
JAVA_SHA256633aa2cb2843fd4b70bba9fb073bbae1c3666e9bbd6f5fb26bde783e38947977
JAVA_URLhttps://download.java.net/java/early_access/jdk25/33/GPL/openjdk-25-ea+33_windows-x64_bin.zip
JAVA_VERSION25-ea+33
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 59.7% (2.06 GB)
[#001] sha256:49ebc78effce2335b8fe04c34f5f1f3e33e513d5a7831fa81718af6737b3d654 - 34.38% (1.19 GB)
[#002] sha256:ae001a517816c12af63bf12a331ba7f4890afdefbf93c1291105603c09c881d4 - 0.0% (1.29 KB)
[#003] sha256:14576d3b09d49c372d532b43a59cb98b6144d57ecb063b7f5db6dcabc03a49e9 - 0.01% (381 KB)
[#004] sha256:a79bf70aae2dd461fb9cbee3945e9bc09f07ac7d6c51141a02c8290dbce08f1e - 0.0% (1.3 KB)
[#005] sha256:9668f7a81acdda35c2e882a47e89f6f498d420d5b51e522be1f967785b9e8566 - 0.01% (363 KB)
[#006] sha256:3765d8576a4bda2e3abd94741d19844d52b80471290fb7f3db82b7189d51d742 - 0.0% (1.3 KB)
[#007] sha256:107133fafea27ab2de215f707d6ee3b247616801147451f25acbbf04ce40c4a2 - 0.0% (1.26 KB)
[#008] sha256:b061c0db2c8c18a8104218b8100eb46999bc858e4052599e77195ff2eba2a124 - 0.0% (1.28 KB)
[#009] sha256:b0aca2ff0ef1c9afff4afe62fac4ebb6e4c1c6a5c8285f86f4782fca2fb3ab37 - 5.9% (209 MB)
[#010] sha256:2affd98231dd976041b9830c3b958c458565b42c4c27cf59d2821ec2c29fde63 - 0.0% (1.33 KB)
Apply image 10.0.26100.2605
2025-07-06 02:40:54 CSTInstall update 10.0.26100.4652
2025-07-29 04:27:35 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-07-29 04:27:42 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-07-29 04:27:43 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-07-29 04:27:48 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-07-29 04:27:48 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+33
2025-07-29 04:27:49 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/33/GPL/openjdk-25-ea+33_windows-x64_bin.zip
2025-07-29 04:27:49 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=633aa2cb2843fd4b70bba9fb073bbae1c3666e9bbd6f5fb26bde783e38947977
2025-07-29 04:28:09 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-07-29 04:28:09 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:4cbf1d43089e2d86dd8fbf2881dcb8b0b01c97f79be4594dedd572ceda1e9af1
2025-07-29 04:24:01 CST
2.33 GB
C:\openjdk-25
JAVA_SHA256633aa2cb2843fd4b70bba9fb073bbae1c3666e9bbd6f5fb26bde783e38947977
JAVA_URLhttps://download.java.net/java/early_access/jdk25/33/GPL/openjdk-25-ea+33_windows-x64_bin.zip
JAVA_VERSION25-ea+33
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 58.48% (1.36 GB)
[#001] sha256:b829944a73d1d8ad37eaa13c64bf9189b6895cc5b45b79bb3563fa325d94b6a7 - 32.73% (780 MB)
[#002] sha256:1f3f824565c64f89570fd18de8d33f361dad9d9fb2170cc9c50f36908037de43 - 0.0% (1.25 KB)
[#003] sha256:cfb0de5d71de9adebd596800df47fa5fcb36583593b33761faa48466b73df663 - 0.01% (350 KB)
[#004] sha256:2605cf153fa9a0f3644a14a9d86be9fe8ec5b72965e702c08643d95641245ad0 - 0.0% (1.25 KB)
[#005] sha256:fa383b58156343917e245a10bf26c1ba0aec7334f22cedab6525a92a52d8c52a - 0.01% (337 KB)
[#006] sha256:71384c70525282c6839376f5ecd1ab8ae1f8248992644d1fc0615c7f86c4a6ed - 0.0% (1.26 KB)
[#007] sha256:bf0845a1e0fbdee7683ca53ebc7e1263d7ecb3022f1e162d5ad23bb850b8314b - 0.0% (1.25 KB)
[#008] sha256:809e168dcbb0d0b3fa77de57b4ddcb6d448ce5a5585a1c491150ed9cc04dce40 - 0.0% (1.26 KB)
[#009] sha256:4c6c4f56799ebce12acc48850cd3eafc02a53608ae8c4c0b813e0cae0a346f1f - 8.76% (209 MB)
[#010] sha256:0f9b7bebeecf8c6b7988eb63a598fe1f192ffec34370ba60345db0f46af4dd94 - 0.0% (1.26 KB)
Apply image 10.0.20348.2700
2025-07-05 13:31:06 CSTInstall update 10.0.20348.3932
2025-07-29 04:22:57 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-07-29 04:23:17 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-07-29 04:23:19 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-07-29 04:23:28 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-07-29 04:23:29 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+33
2025-07-29 04:23:30 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/33/GPL/openjdk-25-ea+33_windows-x64_bin.zip
2025-07-29 04:23:32 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=633aa2cb2843fd4b70bba9fb073bbae1c3666e9bbd6f5fb26bde783e38947977
2025-07-29 04:23:59 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-07-29 04:24:01 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:f4ec1eec241b9d7cd52bb4cdacc9370e5d7af1d1e294b7797c963775e54f88fa
2025-07-26 08:48:10 CST
293 MB
/usr/java/openjdk-25
JAVA_VERSION25-ea+33
LANGC.UTF-8
PATH/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:53a1b5782b9c0593e0b13750a92e1772fe10703d9f469b819e314a0b35572d9b - 15.64% (45.9 MB)
[#001] sha256:7b1e4fd75af661ed717b7748b9f1a88a4fca12f7346e39f43395739465e760f9 - 12.5% (36.6 MB)
[#002] sha256:a0380ac43ee3baab46f207709db07d33475e0f461d7694dfa6ed0e4cad3e0535 - 71.86% (211 MB)
ADD oraclelinux-9-slim-arm64v8-rootfs.tar.xz / # buildkit
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-07-26 08:48:10 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=25-ea+33
2025-07-26 08:48:10 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/early_access/jdk25/33/GPL/openjdk-25-ea+33_linux-x64_bin.tar.gz'; downloadSha256='21b88b7a3594b3e04735519f2127ad2e9ff3e93c02b7079b6016da050ae42fc7'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk25/33/GPL/openjdk-25-ea+33_linux-aarch64_bin.tar.gz'; downloadSha256='26f51c38f4da443a22bcb550c307d76b2dd30998661f2674cddefcf21a3bdab8'; ;; *) 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-07-26 08:48:10 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.