sha256:1def218f10e1433b14efa5e30551d0537d6385faa4074941c416813685a1f835
2025-07-12 08:48:10 CST
296 MB
/usr/java/openjdk-25
JAVA_VERSION25-ea+31
LANGC.UTF-8
PATH/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:62efe2b176c92f37277da6309751ea5c05404dae5248eb1ae91c01e5a9bffb71 - 15.93% (47.2 MB)
[#001] sha256:2a96d06308b8efd384584334bf6e0a6bb05af19ff9a7ec6e0b001975d5c9aec8 - 12.26% (36.3 MB)
[#002] sha256:708e5f9a2f18d639978722beee2672870412c3694e341d1e6354d7b3ef2dc7a0 - 71.8% (213 MB)
ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit
2025-07-12 08:48:10 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-07-12 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-12 08:48:10 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2025-07-12 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-12 08:48:10 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-07-12 08:48:10 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=25-ea+31
2025-07-12 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/31/GPL/openjdk-25-ea+31_linux-x64_bin.tar.gz'; downloadSha256='4c51d8b8a01121cdd3dd7c661afe7439238210199758c431aecb991c6395df99'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk25/31/GPL/openjdk-25-ea+31_linux-aarch64_bin.tar.gz'; downloadSha256='5c29a950c006b9e27387ee4648f8f336ca68e89861b279bbdb93ad231088908e'; ;; *) 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-12 08:48:10 CST (buildkit.dockerfile.v0)CMD ["jshell"]
sha256:be1a5f676167dd1b5c84ca62ec24bd5b19ee557bfb73953cd5980842a6cbfcea
2025-07-15 04:59:53 CST
3.46 GB
C:\openjdk-25
JAVA_SHA256836aae7dfaa07d9f7657146c6f5348253d7ed98a7754cc5148ea306de54d8eb8
JAVA_URLhttps://download.java.net/java/early_access/jdk25/31/GPL/openjdk-25-ea+31_windows-x64_bin.zip
JAVA_VERSION25-ea+31
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 59.7% (2.06 GB)
[#001] sha256:49ebc78effce2335b8fe04c34f5f1f3e33e513d5a7831fa81718af6737b3d654 - 34.38% (1.19 GB)
[#002] sha256:63af5edd27886f33d556300d333cef6ffc4b52e0a3435d452331217c4e9f24aa - 0.0% (1.29 KB)
[#003] sha256:a405aac5cf4a604878d324e98a27679328dd57f4538e392a5dca487f03c40578 - 0.01% (390 KB)
[#004] sha256:65b0bcd43697b6c2f6860c91951c3f049679fa7ffc4e1bd71caacf44cb447b4e - 0.0% (1.28 KB)
[#005] sha256:8adabbd259068fc28efa4489784b22bded35ecba528057ecf3af2b2bbc4a62ff - 0.01% (371 KB)
[#006] sha256:fb5d0b6011665ce5761e2d1dd9c4f74787a6e28cce59831e2ebf783e2ea86bf2 - 0.0% (1.28 KB)
[#007] sha256:2b091a33e6b07748d479eb9fabe47050d704a5096a5832bddf419a1ce5209278 - 0.0% (1.3 KB)
[#008] sha256:4ed4e93758f8be168e536f6a00900b6e892c824a432c1d35351319b6364bf8c8 - 0.0% (1.3 KB)
[#009] sha256:70d27ac158392893aea9ff0bad71415a3a6d24c3eae152fddad5d32e0382d779 - 5.9% (209 MB)
[#010] sha256:c3d68debf2164db219d0b5469460eb98e404053785ae4d4548c0f482cc172ba8 - 0.0% (1.28 KB)
Apply image 10.0.26100.2605
2025-07-06 02:40:54 CSTInstall update 10.0.26100.4652
2025-07-15 04:59:15 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-07-15 04:59:24 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-15 04:59:25 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-07-15 04:59:31 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-15 04:59:32 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+31
2025-07-15 04:59:32 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/31/GPL/openjdk-25-ea+31_windows-x64_bin.zip
2025-07-15 04:59:33 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=836aae7dfaa07d9f7657146c6f5348253d7ed98a7754cc5148ea306de54d8eb8
2025-07-15 04:59:52 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-15 04:59:53 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:391d836a4a1204905953e5c1e90c8c19706593b5b3ce6c36e5604e841c7e18b3
2025-07-15 04:54:03 CST
2.33 GB
C:\openjdk-25
JAVA_SHA256836aae7dfaa07d9f7657146c6f5348253d7ed98a7754cc5148ea306de54d8eb8
JAVA_URLhttps://download.java.net/java/early_access/jdk25/31/GPL/openjdk-25-ea+31_windows-x64_bin.zip
JAVA_VERSION25-ea+31
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 58.48% (1.36 GB)
[#001] sha256:b829944a73d1d8ad37eaa13c64bf9189b6895cc5b45b79bb3563fa325d94b6a7 - 32.73% (780 MB)
[#002] sha256:43a86ed808cf3481fb5887768f6cc08ab3fd3b630871ca64c7ee104b16476865 - 0.0% (1.25 KB)
[#003] sha256:99a08c0df9d02ac3f632ec12f323c81635043b7aa3ac1da95d52e9770d73dfee - 0.01% (350 KB)
[#004] sha256:cb9bf6abd41f8a1039435713c77dd7ea6763e9ceb02f6177b3dc096611ff97a7 - 0.0% (1.26 KB)
[#005] sha256:471371ba4c33e4c8c009a95a3edbfa849f40a99f9b6ea80c7ce79b9b065b67fa - 0.01% (338 KB)
[#006] sha256:1dc768737fd22af7ebf221df29dc568273c81a4711c4edfcf3a22788a619dc22 - 0.0% (1.32 KB)
[#007] sha256:2557ff8bf3c6a2e5442bd900878a7fc067e60502964a28bf453f9e0145af0773 - 0.0% (1.25 KB)
[#008] sha256:cd6a6ea34a39f80d296a4e5a80bcabf5e0dbdfbefff4295cf8cc66e3688ceef0 - 0.0% (1.26 KB)
[#009] sha256:1a618c8480feb2b6a6f93e7757504727838aad66c45a76e27f4569141db27593 - 8.76% (209 MB)
[#010] sha256:cb6f135c2666c1c05a6210fefc4002209c90db3db4cfa289386c834ce9c05ae8 - 0.0% (1.25 KB)
Apply image 10.0.20348.2700
2025-07-05 13:31:06 CSTInstall update 10.0.20348.3932
2025-07-15 04:53:09 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-07-15 04:53:26 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-15 04:53:27 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-07-15 04:53:34 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-15 04:53:35 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+31
2025-07-15 04:53:37 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/31/GPL/openjdk-25-ea+31_windows-x64_bin.zip
2025-07-15 04:53:38 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=836aae7dfaa07d9f7657146c6f5348253d7ed98a7754cc5148ea306de54d8eb8
2025-07-15 04:54:01 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-15 04:54:03 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:7d35cac547c658d4b4c7d37d4ebc5303bdacc75ac65c8a758892127e6b5b9001
2025-07-12 08:48:10 CST
293 MB
/usr/java/openjdk-25
JAVA_VERSION25-ea+31
LANGC.UTF-8
PATH/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:66c8c73e9d3ddec4caf44e8ca16bc4b2439766527a7859053e41d6c2ce35e8f5 - 15.64% (45.9 MB)
[#001] sha256:b0b9a1be6652a88335432a3661c3d694a9f1860a9f24a143675ac0167411ef56 - 12.52% (36.7 MB)
[#002] sha256:6abc5705c646deb5ee6c2eec6e90d1e5ace1254fb9948f40a0171836f0a69405 - 71.84% (211 MB)
ADD oraclelinux-9-slim-arm64v8-rootfs.tar.xz / # buildkit
2025-07-12 08:48:10 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-07-12 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-12 08:48:10 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2025-07-12 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-12 08:48:10 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-07-12 08:48:10 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=25-ea+31
2025-07-12 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/31/GPL/openjdk-25-ea+31_linux-x64_bin.tar.gz'; downloadSha256='4c51d8b8a01121cdd3dd7c661afe7439238210199758c431aecb991c6395df99'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk25/31/GPL/openjdk-25-ea+31_linux-aarch64_bin.tar.gz'; downloadSha256='5c29a950c006b9e27387ee4648f8f336ca68e89861b279bbdb93ad231088908e'; ;; *) 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-12 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.