sha256:36a85f253044621933816b05638297126fcc3824ea6020e83d2eca58488acc45
2025-06-10 03:07:09 CST
296 MB
/usr/java/openjdk-26
JAVA_VERSION26-ea+1
LANGC.UTF-8
PATH/usr/java/openjdk-26/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:43c486e74c6d5afed80291ce1e8693695e0fbf029fc0f4c3d1e289a8b890a8fd - 15.94% (47.2 MB)
[#001] sha256:942edef540d2a091d960bc526a38edf0ecfad2cab61b405005f0b57ff2daea7e - 12.26% (36.3 MB)
[#002] sha256:b060f99b804a367c2f19d10deed56b332735e718b9ce114756206c1e3443ae8e - 71.81% (213 MB)
ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit
2025-06-10 03:07:09 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-06-10 03:07:09 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-06-10 03:07:09 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-26
2025-06-10 03:07:09 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-10 03:07:09 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-06-10 03:07:09 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=26-ea+1
2025-06-10 03:07:09 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/1/GPL/openjdk-26-ea+1_linux-x64_bin.tar.gz'; downloadSha256='9d95d3e025035bfe649be52a1a5f94e28f66af98693db6b4e879fa3be4dc4e69'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk26/1/GPL/openjdk-26-ea+1_linux-aarch64_bin.tar.gz'; downloadSha256='6b80805bd34f0513f09b4cbf9928fb8c73a883c6979ba1df56e71f1b7c12e434'; ;; *) 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-10 03:07:09 CST (buildkit.dockerfile.v0)CMD ["jshell"]
sha256:8e83bf4f0d5a8a2d68453c381f142528660bed83bce92e563ce25236db1417d0
2025-06-11 05:29:00 CST
3.44 GB
C:\openjdk-26
JAVA_SHA256b10c3aefd0ca30a469837b9339e27e64df5e7a3fc0eee39f06c0f30b1ae2ad19
JAVA_URLhttps://download.java.net/java/early_access/jdk26/1/GPL/openjdk-26-ea+1_windows-x64_bin.zip
JAVA_VERSION26-ea+1
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 59.94% (2.06 GB)
[#001] sha256:e8b61d8f1bb5129502a06cea04657715aa68d500a1dc0ddcf37003afcd263c28 - 34.12% (1.17 GB)
[#002] sha256:90bc70c5fbd3c11dcd63cdc81a82b97391309d92046c2a13f447005386760af3 - 0.0% (1.29 KB)
[#003] sha256:bf7492ad8a2f4d005651d6bf1cbc97e190bd5011fdfe2859979de9d9ce51fcaf - 0.01% (380 KB)
[#004] sha256:808805ce9e2e81c9f64e66194f88a1aadbe685f838185b23788bb93c45ca37e0 - 0.0% (1.32 KB)
[#005] sha256:9452fd7cdcee2adda7b5a83696ab320a2b70e7656198d095033441c269e728b6 - 0.01% (364 KB)
[#006] sha256:0a73f25cb5bea0ee17c15df5e6126af84518bd61d4faffce681f3d343f355750 - 0.0% (1.28 KB)
[#007] sha256:0a766594e6ddb6ea58b74edf9173a07f8f80ca01429803d376ae0540db6b51f8 - 0.0% (1.29 KB)
[#008] sha256:ae70d9d38bc691f72eb9ab8408972b556974fd77ac9afa73d1cb5651da37eedc - 0.0% (1.31 KB)
[#009] sha256:c46e5f182b39234e5533c1030dac2cfde9b5eb89ba0bb12ed8fdb2fc3b17c386 - 5.92% (209 MB)
[#010] sha256:26c77239e23a3e83808a58a03b2ad2c4d01453fdaa72682a829f856349d8fd82 - 0.0% (1.28 KB)
Apply image 10.0.26100.2605
2025-06-07 23:42:01 CSTInstall update 10.0.26100.4349
2025-06-11 05:28:20 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-06-11 05:28:29 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-06-11 05:28:29 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-26
2025-06-11 05:28:36 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-06-11 05:28:37 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=26-ea+1
2025-06-11 05:28:38 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk26/1/GPL/openjdk-26-ea+1_windows-x64_bin.zip
2025-06-11 05:28:39 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=b10c3aefd0ca30a469837b9339e27e64df5e7a3fc0eee39f06c0f30b1ae2ad19
2025-06-11 05:28: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-06-11 05:29:00 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:6f504ff19a8c7a53f02b201340e0009342622d51f77eb6c95e145f17fa371d28
2025-06-11 05:27:07 CST
2.33 GB
C:\openjdk-26
JAVA_SHA256b10c3aefd0ca30a469837b9339e27e64df5e7a3fc0eee39f06c0f30b1ae2ad19
JAVA_URLhttps://download.java.net/java/early_access/jdk26/1/GPL/openjdk-26-ea+1_windows-x64_bin.zip
JAVA_VERSION26-ea+1
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 58.49% (1.36 GB)
[#001] sha256:db5652627be066fd088860f3ebfcc61d4cb76922ffa16c5496b4158c7e4e7151 - 32.72% (780 MB)
[#002] sha256:1094f3fcfd171ef45a385e585f10a962c03c4fda7d72d31b43ba1cf77dcfff2d - 0.0% (1.25 KB)
[#003] sha256:7f0ac0137743a8c09828d7ccb242c84ca7c8c73d70b0ccc0c8def893a48cb49b - 0.01% (340 KB)
[#004] sha256:67053f4ef328b2faa69a6fb3833decee8631b4128557760af9e56818bea82c6b - 0.0% (1.26 KB)
[#005] sha256:77c6b37dbdbca0db0f3eabfc5e353523a3295f8f839a81d1d7eaf6462237c5f4 - 0.01% (327 KB)
[#006] sha256:828d3167d2cd58b135895805827ce0d5107d16ed2938336c048d58e2596aef1d - 0.0% (1.25 KB)
[#007] sha256:1b867003fea28c8840852e343fbf87a13151106ae78a9e59d5f34a9f8bc86c06 - 0.0% (1.25 KB)
[#008] sha256:e90c867e3c488f5c653443c8a9591fea67bc57ae5ba8181c5359a98da1b384b5 - 0.0% (1.26 KB)
[#009] sha256:f5b63ff4015b5a9b9b6510a4f31602a1757727a5d5b2c7c4f659411c8b712cd0 - 8.76% (209 MB)
[#010] sha256:905403ba1b3822c5cef64db7581ab4e4f067a47b17deeba8616cbb4034ab5dff - 0.0% (1.25 KB)
Apply image 10.0.20348.2700
2025-06-05 09:01:39 CSTInstall update 10.0.20348.3807
2025-06-11 05:26:28 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-06-11 05:26:37 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-06-11 05:26:38 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-26
2025-06-11 05:26:44 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-06-11 05:26:45 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=26-ea+1
2025-06-11 05:26:46 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk26/1/GPL/openjdk-26-ea+1_windows-x64_bin.zip
2025-06-11 05:26:47 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=b10c3aefd0ca30a469837b9339e27e64df5e7a3fc0eee39f06c0f30b1ae2ad19
2025-06-11 05:27: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-06-11 05:27:07 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:e0acb0990a640aeece11674567b61fa56143cfe1eb0c7cca1f5c7876ae09676a
2025-06-10 03:07:09 CST
274 MB
/usr/java/openjdk-26
JAVA_VERSION26-ea+1
LANGC.UTF-8
PATH/usr/java/openjdk-26/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:1281dea9bbdccb3c77c7f3a63c78eed96dc7efa9ab8208994aebc20dc76cbf26 - 16.74% (45.9 MB)
[#001] sha256:ec7e489c978e38b5afa5d393fea94c54ad3525e6f544c411be6e80f47ef76d0a - 6.38% (17.5 MB)
[#002] sha256:e7149f902654098808618350ca5dfbc94ae603753ab805e835c2191331c82043 - 76.88% (211 MB)
ADD oraclelinux-9-slim-arm64v8-rootfs.tar.xz / # buildkit
2025-06-10 03:07:09 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-06-10 03:07:09 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-06-10 03:07:09 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-26
2025-06-10 03:07:09 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-10 03:07:09 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-06-10 03:07:09 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=26-ea+1
2025-06-10 03:07:09 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/1/GPL/openjdk-26-ea+1_linux-x64_bin.tar.gz'; downloadSha256='9d95d3e025035bfe649be52a1a5f94e28f66af98693db6b4e879fa3be4dc4e69'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk26/1/GPL/openjdk-26-ea+1_linux-aarch64_bin.tar.gz'; downloadSha256='6b80805bd34f0513f09b4cbf9928fb8c73a883c6979ba1df56e71f1b7c12e434'; ;; *) 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-10 03:07:09 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.