sha256:4108a54a10ac352713d6fa308f2ba52af57ed84285ea33a29ef4a18839619b21
2025-04-26 02:48:12 CST
286 MB
/usr/java/openjdk-25
JAVA_VERSION25-ea+20
LANGC.UTF-8
PATH/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:c2eb5d06bfeaafd2195d3612935e86f925a4620bf5bbcea5112a1fb07138dd80 - 16.39% (46.8 MB)
[#001] sha256:a65afb11659abeb29a79d202a53f38727617d3f77a0f9dbbfe89fa34c679c228 - 12.72% (36.3 MB)
[#002] sha256:abd9ccedd3dcd4b20d8a0d5b8c4dd0e72c844163b5f532d4cc70b8357afba974 - 70.89% (203 MB)
ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=25-ea+20
2025-04-26 02:48:12 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/20/GPL/openjdk-25-ea+20_linux-x64_bin.tar.gz'; downloadSha256='6bc1d37add3f10b8826fef26bfc5ab51183b308c32a12f08a18ee2b6d9e28111'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk25/20/GPL/openjdk-25-ea+20_linux-aarch64_bin.tar.gz'; downloadSha256='e6b42d0f5816ea1fd6c27505ddf93dc11eae12fc2cc64b4139350d7c0acdd55a'; ;; *) 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-04-26 02:48:12 CST (buildkit.dockerfile.v0)CMD ["jshell"]
sha256:016d105a650f0aff167c9af5c86757558a65b0817598a0215be9e87367b3257d
2025-04-26 05:51:12 CST
3.36 GB
C:\openjdk-25
JAVA_SHA256189b22f424bd7f7ef01de23f6e41fd183bc3b28da7db090dacba784054fe1f43
JAVA_URLhttps://download.java.net/java/early_access/jdk25/20/GPL/openjdk-25-ea+20_windows-x64_bin.zip
JAVA_VERSION25-ea+20
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 61.47% (2.06 GB)
[#001] sha256:86a55b9bd12cfb5d81d64963683e6d5d0ba9423233c85140eff135128a64f7ee - 32.74% (1.1 GB)
[#002] sha256:560f4f67a6412e5577071c0673b23d3d884e204c8ae8d79943638f9a45c357e2 - 0.0% (1.29 KB)
[#003] sha256:76b39ee62e7bcdbec8ded8f28c6e44b7ff06ca18c1579d0fefb0d1743a0b1869 - 0.01% (390 KB)
[#004] sha256:5f476be7aec6524f25c899ce28b72b2068fd6046a9cfbc51c825668d98005b1c - 0.0% (1.29 KB)
[#005] sha256:8c6b08ae0f01699ca88c41b9c9d81a87077c39ad0545299011f505857e98080e - 0.01% (369 KB)
[#006] sha256:f3fe98608ace7f170d309a8905898285b361bafb1d76caa482f59c54b51bd0e3 - 0.0% (1.26 KB)
[#007] sha256:65e62039adc6f994c2c08e82645854653db5ec9ab12c5b463432d4898a923057 - 0.0% (1.29 KB)
[#008] sha256:de89a6e1873d07bd42c2290e916e5edf9f247395291fac21573bdd8168c9a87f - 0.0% (1.29 KB)
[#009] sha256:7409f835fa67ba43a6f2c8ed671d4fd7da4a9ad1ef4a0d07090f6b45bd457c5a - 5.77% (198 MB)
[#010] sha256:6df49e8adeaa0a41f47ed954af5bb42417de2e93867aa0bb865d5b030d2e483e - 0.0% (1.27 KB)
Apply image 10.0.26100.2605
2025-04-15 18:03:37 CSTInstall update 10.0.26100.3781
2025-04-26 05:50:34 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-04-26 05:50: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-04-26 05:50:43 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-04-26 05:50:50 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-04-26 05:50:51 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+20
2025-04-26 05:50:51 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/20/GPL/openjdk-25-ea+20_windows-x64_bin.zip
2025-04-26 05:50:52 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=189b22f424bd7f7ef01de23f6e41fd183bc3b28da7db090dacba784054fe1f43
2025-04-26 05:51:11 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-04-26 05:51:12 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:0281a2ce8bf29fdd475cb4eb78f105c852316bc6d686f0039c5718d25125aed0
2025-04-26 05:54:52 CST
2.31 GB
C:\openjdk-25
JAVA_SHA256189b22f424bd7f7ef01de23f6e41fd183bc3b28da7db090dacba784054fe1f43
JAVA_URLhttps://download.java.net/java/early_access/jdk25/20/GPL/openjdk-25-ea+20_windows-x64_bin.zip
JAVA_VERSION25-ea+20
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 58.9% (1.36 GB)
[#001] sha256:b0b6ee194dfee460cc53e0f761b7ff976c08380d6cd1e70cc50ff92cfa99d176 - 32.69% (774 MB)
[#002] sha256:b78ca831e6fd2c4d3273ce91d60d3fcce010e154a3d4895e5fdacb5c3736c55e - 0.0% (1.26 KB)
[#003] sha256:d6669f0f6bb1e83a15b05ece8feedcc5c3a9f93741c3e2462717f24739bbd99f - 0.02% (364 KB)
[#004] sha256:d6b6f07b768aff9f2088e560a3fccb74b07f59c6321c9678f720b0e44a940166 - 0.0% (1.25 KB)
[#005] sha256:f4f124f3b5f9b5948dae4a149f09c244567b108cc233541238bc9a72199e1ca5 - 0.01% (351 KB)
[#006] sha256:93f95b25d0022835734f770cff22c4a522e9a6cacadf0b96d3ad4fb4d81bb58b - 0.0% (1.28 KB)
[#007] sha256:d53d4bf7d9bade25ff02cc9f6a740aae65b3c4de25c9183a04fe482e3d741386 - 0.0% (1.25 KB)
[#008] sha256:289816406037b43f59be21f45023fc6f5a18d84a00c17ce49c50ae53743fd011 - 0.0% (1.25 KB)
[#009] sha256:d8fe7f28ac1e3dc4125430cc7091eaf7478a28fbc069d9f86d1dd8bda77662e2 - 8.38% (198 MB)
[#010] sha256:2b21a81b08aafb65c68783286df7238a7a8c70e30d9e2686faf36465af11e4ae - 0.0% (1.25 KB)
Apply image 10.0.20348.2700
2025-04-16 11:49:18 CSTInstall update 10.0.20348.3566
2025-04-26 05:54:09 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-04-26 05:54: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-04-26 05:54:25 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-04-26 05:54: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-04-26 05:54:31 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+20
2025-04-26 05:54:32 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/20/GPL/openjdk-25-ea+20_windows-x64_bin.zip
2025-04-26 05:54:33 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=189b22f424bd7f7ef01de23f6e41fd183bc3b28da7db090dacba784054fe1f43
2025-04-26 05:54:51 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-04-26 05:54:52 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:14e8af045d0304835e067d9cb0a76052badb0a7120dcab47c1598426e0652767
2025-04-26 05:54:33 CST
2.21 GB
C:\openjdk-25
JAVA_SHA256189b22f424bd7f7ef01de23f6e41fd183bc3b28da7db090dacba784054fe1f43
JAVA_URLhttps://download.java.net/java/early_access/jdk25/20/GPL/openjdk-25-ea+20_windows-x64_bin.zip
JAVA_VERSION25-ea+20
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 72.45% (1.6 GB)
[#001] sha256:632102e3f287de7b6ffd6cab740fb7afe94ac8418060651b0954506aeecc48f1 - 18.75% (425 MB)
[#002] sha256:44708318aa6fa727bca5437e69a38ca42f81a8a38fb1386e9de5c7219ccb2a16 - 0.0% (1.26 KB)
[#003] sha256:2139b257125f1e49adb9b165465a2fd98b4e43e0467a16d282f76ffbce34812d - 0.02% (353 KB)
[#004] sha256:4b45f999363531345643f51f22094404b375521b6c7f414f1f23d26f118e451b - 0.0% (1.26 KB)
[#005] sha256:84bc4489557c3b6984ee55bbfb8b823ed9afa7a968bd755df438699774e4cd06 - 0.01% (332 KB)
[#006] sha256:8c36f9f4a65b8a25c0b5a059bd7e14b7268a5bfb504d1c66cbf8c3265eb8302e - 0.0% (1.26 KB)
[#007] sha256:9dab5f1f4dce2a82d514bee758bd61fe736a88c83929780b2504fdcb821a6eaf - 0.0% (1.26 KB)
[#008] sha256:5fe5ea44145253a3bade1c3535ab8ec54a7fa8f325ede936fe6c97b6c3f6e66e - 0.0% (1.27 KB)
[#009] sha256:846582d5c0b66811b53d57ac52d7d2a848f3366dd0b91868848a8a6cee947a14 - 8.76% (198 MB)
[#010] sha256:fc2ad30f44bd17defd3c9b5ee6abfa57ef22a3586689c4a87eb2c1befe5f3668 - 0.0% (1.26 KB)
Apply image 10.0.17763.6293
2025-04-15 09:47:49 CSTInstall update 10.0.17763.7249
2025-04-26 05:53:07 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-04-26 05:53:59 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-04-26 05:54:00 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-04-26 05:54:06 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-04-26 05:54:07 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+20
2025-04-26 05:54:08 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/20/GPL/openjdk-25-ea+20_windows-x64_bin.zip
2025-04-26 05:54:09 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=189b22f424bd7f7ef01de23f6e41fd183bc3b28da7db090dacba784054fe1f43
2025-04-26 05:54:32 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-04-26 05:54:33 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:fcc27e884cb09f061f53a50d89a09cc41dcb195094616846490be2a8305af1b7
2025-04-26 02:48:12 CST
283 MB
/usr/java/openjdk-25
JAVA_VERSION25-ea+20
LANGC.UTF-8
PATH/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:88a33dc8906274baf54eb28aeefeba84c17922e3854e6fd41883f273d87d330d - 16.08% (45.5 MB)
[#001] sha256:57b5aea1d0deca854a3762f4e396dad66260211f50004210a8e73e2146af926a - 12.99% (36.7 MB)
[#002] sha256:d7aadc4a87e0f25e471df03345f26917cd536e48f1626a437997621424b5e4e5 - 70.93% (200 MB)
ADD oraclelinux-9-slim-arm64v8-rootfs.tar.xz / # buildkit
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-04-26 02:48:12 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=25-ea+20
2025-04-26 02:48:12 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/20/GPL/openjdk-25-ea+20_linux-x64_bin.tar.gz'; downloadSha256='6bc1d37add3f10b8826fef26bfc5ab51183b308c32a12f08a18ee2b6d9e28111'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk25/20/GPL/openjdk-25-ea+20_linux-aarch64_bin.tar.gz'; downloadSha256='e6b42d0f5816ea1fd6c27505ddf93dc11eae12fc2cc64b4139350d7c0acdd55a'; ;; *) 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-04-26 02:48:12 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.