sha256:4450e03226448ded2f1d3e5c58e994a5dd058def7662824486859307ccc2f842
2025-12-16 08:04:23 CST
299 MB
/usr/java/openjdk-27
JAVA_VERSION27-ea+2
LANGC.UTF-8
PATH/usr/java/openjdk-27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:7a5e1e9175268f8a5062cd666fcd7ea2d50d08a02f6eb1873586009eb9e27529 - 15.09% (45.1 MB)
[#001] sha256:844328ba8fa952b4b4cc108799cc7afeb146fa4db82d7162e548d6636e80c27c - 12.21% (36.5 MB)
[#002] sha256:6b010bce3c92964a7f0c34f93079776788067d44ab11d8fe4dc7b0003f51396d - 72.7% (217 MB)
ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit
2025-12-03 05:17:31 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-12-16 08:04:14 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-12-16 08:04:23 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-27
2025-12-16 08:04:23 CST (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-12-16 08:04:23 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-12-16 08:04:23 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=27-ea+2
2025-12-16 08:04:23 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/jdk27/2/GPL/openjdk-27-ea+2_linux-x64_bin.tar.gz'; downloadSha256='95b0225ac04e0034ffe1626daf09cf436a54ac3b74fef67ccd00534beb7715f5'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk27/2/GPL/openjdk-27-ea+2_linux-aarch64_bin.tar.gz'; downloadSha256='111a65a5acf09c18b471be75d77130d10b4c425d192ae243e3940da32e5d6dca'; ;; *) 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-12-16 08:04:23 CST (buildkit.dockerfile.v0)CMD ["jshell"]
sha256:7a8c055570902eb8754590237b349f665fc4415796dd595adda8aaf6d8aa80ee
2025-12-16 08:19:32 CST
3.24 GB
C:\openjdk-27
JAVA_SHA256486eb3681d48770501631da706141ae22a0bc408cb4899e2370656479dd8ebfd
JAVA_URLhttps://download.java.net/java/early_access/jdk27/2/GPL/openjdk-27-ea+2_windows-x64_bin.zip
JAVA_VERSION27-ea+2
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 63.69% (2.06 GB)
[#001] sha256:890b21ccebaeedf053c6c32fb4fe8d98ab2c60496b12e6b730ac67df9096fc5b - 29.84% (990 MB)
[#002] sha256:2d046c790b9cc12e8864e25e14576fe17199d8345da2e286637151050025d41f - 0.0% (1.3 KB)
[#003] sha256:a601a6f0e927b213e1b9aaf378f190afe9cc50e89a142f6270f5c44957a4df69 - 0.01% (392 KB)
[#004] sha256:767a55327600cbb242fbf770846eff66b8cf57d2c135d237753e4345f615857b - 0.0% (1.26 KB)
[#005] sha256:2a810c35701a0e65c01816224df9bdf353b0af9a331fee8709ba563c6f68b6cf - 0.01% (376 KB)
[#006] sha256:763e67627c5e30698bc80d63134d7935d33fcd8af37af0df6cbacf6f7e3e8f70 - 0.0% (1.28 KB)
[#007] sha256:4d38c27d3fff8f3c07b56b754da6224ab25672dffa5b6b53f122d61a1e99aa7a - 0.0% (1.31 KB)
[#008] sha256:68518b6718f1e27ba94238ef5748fca75e66e3a725a6e69e55d6ac28a266bd09 - 0.0% (1.27 KB)
[#009] sha256:ff02e8934e9d035da10f423d921ed9ff9762f83c870b06c8f34586c396b1f048 - 6.45% (214 MB)
[#010] sha256:6d6b3bacc83cc0c0c0bea70e58c5d933beb95a9adb4aa490890f2bfa3ad4205a - 0.0% (1.26 KB)
Apply image 10.0.26100.2605
2025-12-07 05:49:56 CSTInstall update 10.0.26100.7462
2025-12-16 08:18:40 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-12-16 08:19:01 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-12-16 08:19:01 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-27
2025-12-16 08:19:07 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-12-16 08:19:08 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=27-ea+2
2025-12-16 08:19:08 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk27/2/GPL/openjdk-27-ea+2_windows-x64_bin.zip
2025-12-16 08:19:10 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=486eb3681d48770501631da706141ae22a0bc408cb4899e2370656479dd8ebfd
2025-12-16 08:19:31 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-12-16 08:19:32 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:b659817477a4527f5b6920bf8fba56e3df558b8bcbb616c1ab285b27d7f34cab
2025-12-16 08:36:44 CST
1.87 GB
C:\openjdk-27
JAVA_SHA256486eb3681d48770501631da706141ae22a0bc408cb4899e2370656479dd8ebfd
JAVA_URLhttps://download.java.net/java/early_access/jdk27/2/GPL/openjdk-27-ea+2_windows-x64_bin.zip
JAVA_VERSION27-ea+2
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 74.26% (1.39 GB)
[#001] sha256:1fc19ec18c41e4c8edf1a76eecae2be22e29445f11ee586523f59e36de40aebb - 14.51% (277 MB)
[#002] sha256:80e6900165940b67250c33c8a1d9ccdce394d47319cb5ec334325ad76cf52c40 - 0.0% (1.29 KB)
[#003] sha256:480129b24afef7ee425fce948ebb465044651d7ce74a49e874b2b8d4d2225f73 - 0.03% (493 KB)
[#004] sha256:4bc34522d34fa2e2a4b0e8eba2f905d228827a16aa22f46d4aac1059a78d93d8 - 0.0% (1.3 KB)
[#005] sha256:1998f18910dbab72b963ac2f75615f600719dd98acab946fb519a3a92f502dc3 - 0.02% (344 KB)
[#006] sha256:80c8819b6afe78524d8c0349230cc3310d81737894d7635e28eb15d8101f1eb6 - 0.0% (1.26 KB)
[#007] sha256:663864309127e1ad86b51b088861da12fd9db26fffdef9868bb8a1eb34086016 - 0.0% (1.3 KB)
[#008] sha256:cc9f0618f828d8b77b1da2154ffd198ba6214283001fd8e5aaff966fea0217c2 - 0.0% (1.29 KB)
[#009] sha256:c00ac01c7cc14240868b2c785ce5856fb53d1caf5b6e5912e19475c165fad148 - 11.19% (214 MB)
[#010] sha256:9401bfc5a1f241cd3da46796e572255202201349ad9f0f27d5505be5994dbf59 - 0.0% (1.27 KB)
Apply image 10.0.20348.4294
2025-12-06 02:19:35 CSTInstall update 10.0.20348.4529
2025-12-16 08:34:10 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-12-16 08:34:51 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-12-16 08:34:52 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-27
2025-12-16 08:35:00 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-12-16 08:35:02 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=27-ea+2
2025-12-16 08:35:04 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk27/2/GPL/openjdk-27-ea+2_windows-x64_bin.zip
2025-12-16 08:35:05 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=486eb3681d48770501631da706141ae22a0bc408cb4899e2370656479dd8ebfd
2025-12-16 08:36:42 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-12-16 08:36:44 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:d198853a14b2dc7fadb1056fad16da612107335da71313e62f2d5db23b6b06bc
2025-12-16 08:04:06 CST
296 MB
/usr/java/openjdk-27
JAVA_VERSION27-ea+2
LANGC.UTF-8
PATH/usr/java/openjdk-27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:842b90544a0050f7b114b301fe9bf455545f1ec7b827c2f9ec9585171d12c48f - 14.78% (43.8 MB)
[#001] sha256:7c33c5358a1c0461404c3dde954e3137693345097c24a04a13da043f8e55f649 - 12.46% (36.9 MB)
[#002] sha256:a06cf1cf98a68173159cd932a8056253016488b150f2fc5273c476858a58da75 - 72.76% (215 MB)
ADD oraclelinux-9-slim-arm64v8-rootfs.tar.xz / # buildkit
2025-12-03 05:17:01 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-12-16 08:03:55 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-12-16 08:04:06 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-27
2025-12-16 08:04:06 CST (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-12-16 08:04:06 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-12-16 08:04:06 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=27-ea+2
2025-12-16 08:04:06 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/jdk27/2/GPL/openjdk-27-ea+2_linux-x64_bin.tar.gz'; downloadSha256='95b0225ac04e0034ffe1626daf09cf436a54ac3b74fef67ccd00534beb7715f5'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk27/2/GPL/openjdk-27-ea+2_linux-aarch64_bin.tar.gz'; downloadSha256='111a65a5acf09c18b471be75d77130d10b4c425d192ae243e3940da32e5d6dca'; ;; *) 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-12-16 08:04:06 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.