sha256:8e335cb3f383fdb2afbb3dcfd89f0bc4419f63c7e2e9c0f4369375d84ad6f3f8
2025-06-28 08:54:13 CST
296 MB
/usr/java/openjdk-26
JAVA_VERSION26-ea+4
LANGC.UTF-8
PATH/usr/java/openjdk-26/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:3d2798b2072afb2166cb6041ab9f9c9b2e8f24e24a86be4af701bfa5dece5e10 - 15.94% (47.2 MB)
[#001] sha256:b7dd175918459414aacf81f1798eae4e2802f675c7e2a477352d5d88eede4c33 - 12.27% (36.3 MB)
[#002] sha256:2f39c678781f8ad6c8813bea1b6714cc0b3402e8b103e12fbc386a04e372bbdb - 71.79% (213 MB)
ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-26
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-26/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=26-ea+4
2025-06-28 08:54:13 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/jdk26/4/GPL/openjdk-26-ea+4_linux-x64_bin.tar.gz'; downloadSha256='49aa2a8f29bd63727be9ab8e279ffceba2ee6d09beca9d221a69784da673476f'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk26/4/GPL/openjdk-26-ea+4_linux-aarch64_bin.tar.gz'; downloadSha256='529cc863c692cfa63afec612e73bdb9f2d8097a509454664315649e9955a16c2'; ;; *) 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-06-28 08:54:13 CST (buildkit.dockerfile.v0)CMD ["jshell"]
sha256:44e3fafdd4ad784e959aaafe678a32288787b015996897dc3ca0cf17f11fcc27
2025-07-01 01:36:09 CST
3.44 GB
C:\openjdk-26
JAVA_SHA256bb9270496ac199b05ed1ccbf5c3caa75f278f93900fac9444931bbbc76524588
JAVA_URLhttps://download.java.net/java/early_access/jdk26/4/GPL/openjdk-26-ea+4_windows-x64_bin.zip
JAVA_VERSION26-ea+4
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 59.94% (2.06 GB)
[#001] sha256:e8b61d8f1bb5129502a06cea04657715aa68d500a1dc0ddcf37003afcd263c28 - 34.12% (1.17 GB)
[#002] sha256:341c918446e3dde2759dba1159661b8abc690af2c7c07ee9fb229f09767d319f - 0.0% (1.32 KB)
[#003] sha256:bc85c3ceee5134ae13594ea065c2fda143b4d8501b5cd8f073b78f604eb1f480 - 0.01% (388 KB)
[#004] sha256:f3eb76743d37c0a1d2f199f7c1134c271794ea7dfc3859f3b5f166a8facc5176 - 0.0% (1.32 KB)
[#005] sha256:14f26a26fb4260a8d8ea2bfb28bc5ed9e6ccd46a8d3584be12d663d8e56edb34 - 0.01% (373 KB)
[#006] sha256:d41620ba50e80908c7bfff6eb9e9cc29488d030b2fe7cef70cf5aa80cbaa6b8f - 0.0% (1.28 KB)
[#007] sha256:4fb04c66236e735dbbc39be0869fda42ad1d3fa09bc29ed96fe683ef747ea3d9 - 0.0% (1.26 KB)
[#008] sha256:a27140cd831239c112827350ed62853f801107ff043208c2203c276d46eefeb7 - 0.0% (1.26 KB)
[#009] sha256:1920e3769b35b3ec37fe13aa2d3fbcc95048e18157a67dc9792e383adda1e9e8 - 5.92% (209 MB)
[#010] sha256:2047eba5c9198d0f9973e54324993efc51adc2e6eac33d77b0840dea7ac904c0 - 0.0% (1.26 KB)
Apply image 10.0.26100.2605
2025-06-07 23:42:01 CSTInstall update 10.0.26100.4349
2025-07-01 01:34:28 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-07-01 01:34:41 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-01 01:34:44 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-26
2025-07-01 01:34:57 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-01 01:34:59 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=26-ea+4
2025-07-01 01:35:04 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk26/4/GPL/openjdk-26-ea+4_windows-x64_bin.zip
2025-07-01 01:35:06 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=bb9270496ac199b05ed1ccbf5c3caa75f278f93900fac9444931bbbc76524588
2025-07-01 01:36:06 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-01 01:36:09 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:7b9137607f5288a090a351c42ad032cbb1e6e95564a256bf5836b6abf07aed67
2025-07-01 01:30:19 CST
2.33 GB
C:\openjdk-26
JAVA_SHA256bb9270496ac199b05ed1ccbf5c3caa75f278f93900fac9444931bbbc76524588
JAVA_URLhttps://download.java.net/java/early_access/jdk26/4/GPL/openjdk-26-ea+4_windows-x64_bin.zip
JAVA_VERSION26-ea+4
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 58.49% (1.36 GB)
[#001] sha256:db5652627be066fd088860f3ebfcc61d4cb76922ffa16c5496b4158c7e4e7151 - 32.73% (780 MB)
[#002] sha256:fe9d76659e003ff2762e8a4eaa24d1823759224eede4ef2b6ce3db492361996d - 0.0% (1.27 KB)
[#003] sha256:2f7ed86f2b1bb665a38717978b3f6fe4ae4a8033e4617d10d897b948c01f831c - 0.01% (350 KB)
[#004] sha256:f6ea2df61d045ca3b0c83e154f277765c86aa387566120fc45a3d35b4e1bb1d6 - 0.0% (1.26 KB)
[#005] sha256:cb72953859389098e3d61f74eb464a8258cfb16c7de3827b9d87b16f9dc7b464 - 0.01% (339 KB)
[#006] sha256:1fea0c668c5cccfb85c484505035e92ba66c90f02847c690871abd92e843c935 - 0.0% (1.26 KB)
[#007] sha256:e6cab9af6ec87cdc8726a0ed96773f28a014ae84f208d8978b2508868d798fb8 - 0.0% (1.25 KB)
[#008] sha256:0da9b54cef8db895b4ee149983cd3863952e2010ef29003808b98cf9582620bb - 0.0% (1.26 KB)
[#009] sha256:68a008e956f27299f160f0e26491a95e8c39e3c865484bfeaaa2a9e5b3262e86 - 8.75% (209 MB)
[#010] sha256:298c6db96ebd60b3d2fc5025aaf7427d698a09dc0c159457f66a603571c73c81 - 0.0% (1.26 KB)
Apply image 10.0.20348.2700
2025-06-05 09:01:39 CSTInstall update 10.0.20348.3807
2025-07-01 01:28:39 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-07-01 01:29:32 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-01 01:29:33 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-26
2025-07-01 01:29:42 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-01 01:29:43 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=26-ea+4
2025-07-01 01:29:45 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk26/4/GPL/openjdk-26-ea+4_windows-x64_bin.zip
2025-07-01 01:29:46 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=bb9270496ac199b05ed1ccbf5c3caa75f278f93900fac9444931bbbc76524588
2025-07-01 01:30:18 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-01 01:30:19 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:192f7247d3226eb2e5dac9a17293111fc9cd502112cb0094202a90e39e15c7c2
2025-06-28 08:54:13 CST
293 MB
/usr/java/openjdk-26
JAVA_VERSION26-ea+4
LANGC.UTF-8
PATH/usr/java/openjdk-26/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:40b5f8b6bc9880acfd6e05d4b46d40ffccdaa51cf95ba3b0b8be3492c65bf5be - 15.65% (45.9 MB)
[#001] sha256:d5e41c14547bdbf6ff3b0e0c9c9c5853d4884135fac836a7107e73bc0a6a42f5 - 12.53% (36.7 MB)
[#002] sha256:f736abc40b0e765a20958a7fd15ad60b2895b6bc91ca7d8e6dde7bd1e7068711 - 71.82% (210 MB)
ADD oraclelinux-9-slim-arm64v8-rootfs.tar.xz / # buildkit
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-26
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-26/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-06-28 08:54:13 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=26-ea+4
2025-06-28 08:54:13 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/jdk26/4/GPL/openjdk-26-ea+4_linux-x64_bin.tar.gz'; downloadSha256='49aa2a8f29bd63727be9ab8e279ffceba2ee6d09beca9d221a69784da673476f'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk26/4/GPL/openjdk-26-ea+4_linux-aarch64_bin.tar.gz'; downloadSha256='529cc863c692cfa63afec612e73bdb9f2d8097a509454664315649e9955a16c2'; ;; *) 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-06-28 08:54:13 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.