sha256:8528bc23259617e4e2898924cfe05835175ee8bc67321aa05a2088d76e18e499
2025-05-16 08:48:12 CST
287 MB
/usr/java/openjdk-25
JAVA_VERSION25-ea+23
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.33% (46.8 MB)
[#001] sha256:3a66751aa9c49152f72ba7e023ee706c3024d864e1ca802a2cf161456c51a7f8 - 12.68% (36.3 MB)
[#002] sha256:b61d4ee174503292e5bc0d00c0d6797f7425a867c918890af41bddaa23cf2787 - 70.99% (204 MB)
ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit
2025-04-30 00:26:20 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-05-16 08:48:12 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-05-16 08:48:12 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2025-05-16 08: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-05-16 08:48:12 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-05-16 08:48:12 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=25-ea+23
2025-05-16 08: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/23/GPL/openjdk-25-ea+23_linux-x64_bin.tar.gz'; downloadSha256='f2d8788017e8ffb7bf559492efe8fb46d20d613df50a5eafaed7a8344a54a5bb'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk25/23/GPL/openjdk-25-ea+23_linux-aarch64_bin.tar.gz'; downloadSha256='5f1c62c8b60be587c98a541129878b43e854c0fe167710878aa719e7f3dbefa3'; ;; *) 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-05-16 08:48:12 CST (buildkit.dockerfile.v0)CMD ["jshell"]
sha256:325f6c9cc049c232c4507ac71b05afec535b6568ebea79bbb69728cb454fc1cf
2025-05-17 04:59:21 CST
3.39 GB
C:\openjdk-25
JAVA_SHA256903e77b6d79a2c808e32a4111a54802e149b11e39d15629d7a04ccfb97e4c79b
JAVA_URLhttps://download.java.net/java/early_access/jdk25/23/GPL/openjdk-25-ea+23_windows-x64_bin.zip
JAVA_VERSION25-ea+23
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 60.85% (2.06 GB)
[#001] sha256:cc834e13e71633c2d66ec6513d57c31a3157fc5933859d492ecf45fc8a7476c3 - 33.38% (1.13 GB)
[#002] sha256:68cae493650bffa903e0895e1f2e266ee4f823b5825e8b836d0d3f0750399930 - 0.0% (1.3 KB)
[#003] sha256:d1b4f788d335c5b01c14d439115092318bb6483081c3662a4bf1f79e7f58af57 - 0.01% (360 KB)
[#004] sha256:7569509716153e89ee383313a5bac62c47f605594c9592c9572004d74d04f524 - 0.0% (1.26 KB)
[#005] sha256:e46dfccfa9e8d36f9e96257ecfef309d620842a84280083b8bb77bcbf5de888a - 0.01% (347 KB)
[#006] sha256:4146acb6e913e0fe08dcf090868d95d9eeac5ebae7b830683665084bd14d5562 - 0.0% (1.26 KB)
[#007] sha256:4f0ae521cc9be633578ee31e64a2eb8973901cd9cab2e4195a1e6537c6241688 - 0.0% (1.33 KB)
[#008] sha256:aa3a2a57af48d392d0664f2e04177490dfbf9629021ac31ed904168b31d2147e - 0.0% (1.26 KB)
[#009] sha256:baa58bcddb8231f97aa861905859cb434a8e717b840488b6be26d89125fe0c0c - 5.75% (200 MB)
[#010] sha256:f880421a49694c5468de61ca3815140d1662983afbffdb3d679718d36977990b - 0.0% (1.26 KB)
Apply image 10.0.26100.2605
2025-05-10 09:13:32 CSTInstall update 10.0.26100.4061
2025-05-17 04:58:43 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-05-17 04:58: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-05-17 04:58:52 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-05-17 04:58:58 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-05-17 04:58:59 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+23
2025-05-17 04:59:00 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/23/GPL/openjdk-25-ea+23_windows-x64_bin.zip
2025-05-17 04:59:00 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=903e77b6d79a2c808e32a4111a54802e149b11e39d15629d7a04ccfb97e4c79b
2025-05-17 04:59:20 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-05-17 04:59:21 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:63944e66ccd7f3610aa8912b80832274655663f8302e8a84c98a44f047c4ae70
2025-05-17 05:04:52 CST
2.31 GB
C:\openjdk-25
JAVA_SHA256903e77b6d79a2c808e32a4111a54802e149b11e39d15629d7a04ccfb97e4c79b
JAVA_URLhttps://download.java.net/java/early_access/jdk25/23/GPL/openjdk-25-ea+23_windows-x64_bin.zip
JAVA_VERSION25-ea+23
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 58.87% (1.36 GB)
[#001] sha256:9f99f0856d3665c6aeede32823351187cdab09d90cb8608ff70427d552ab356b - 32.67% (774 MB)
[#002] sha256:5bb77149bb250a6a718022280db2075b45e6d815772aa1f3393fd87602fbd8be - 0.0% (1.25 KB)
[#003] sha256:3a194cd0150b1cebd8ce8477b6680eb08f936eda8d9fc28c4676c4653240c465 - 0.02% (365 KB)
[#004] sha256:6109808ec595500f9243b380fe804cccc8d71ead6cedff824347ed463c73603d - 0.0% (1.26 KB)
[#005] sha256:4ac4a491f9c96211defff838b8ebd8839411cb77f801715c2ec9078fb4039853 - 0.01% (353 KB)
[#006] sha256:407f9d80a44d667a68966a54f8b5ce16c58d3ab9e89237050193e400d37532a8 - 0.0% (1.26 KB)
[#007] sha256:99811b8a85c2d2cdfbc85488728290e617f0a6b5efba8cdd8a5bc71341f4944a - 0.0% (1.25 KB)
[#008] sha256:cc9e8ec9046dbd4a9c1e72ff6d45089472ea23de0fdf4566230684b957eaf2d6 - 0.0% (1.25 KB)
[#009] sha256:173b58d3b42c3a3079caeef797937322909559f0fd7040ab00c6caf0ef799308 - 8.43% (200 MB)
[#010] sha256:9947447cac5190ad87c1f2fa0f92870775e91bb2ed20c69375639671aac1a158 - 0.0% (1.26 KB)
Apply image 10.0.20348.2700
2025-05-10 03:38:10 CSTInstall update 10.0.20348.3692
2025-05-17 05:04:08 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-05-17 05:04: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-05-17 05:04:25 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-05-17 05:04: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-05-17 05:04:32 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+23
2025-05-17 05:04:32 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/23/GPL/openjdk-25-ea+23_windows-x64_bin.zip
2025-05-17 05:04:33 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=903e77b6d79a2c808e32a4111a54802e149b11e39d15629d7a04ccfb97e4c79b
2025-05-17 05:04: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-05-17 05:04:52 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:3391de461880779aceee2c7dc465c4c4237ff6c9c72ea8b5b3a3ffe2a9460f69
2025-05-17 05:03:32 CST
2.23 GB
C:\openjdk-25
JAVA_SHA256903e77b6d79a2c808e32a4111a54802e149b11e39d15629d7a04ccfb97e4c79b
JAVA_URLhttps://download.java.net/java/early_access/jdk25/23/GPL/openjdk-25-ea+23_windows-x64_bin.zip
JAVA_VERSION25-ea+23
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 71.87% (1.6 GB)
[#001] sha256:a95a939635fd6bec8c1562dcdbdde2fdb64095d1be9873313939c878db6f7279 - 19.36% (442 MB)
[#002] sha256:27c94e107aaec5a76637bb9d0822c9cf6b2ba8a57634d1749688bd1dc825789b - 0.0% (1.26 KB)
[#003] sha256:1ddd89a16a6372003ab30aba8de26edb75a9a24be6a9cf27943d0b396c5e121a - 0.02% (357 KB)
[#004] sha256:8e337606391fa081a0fb2d5933133352f37d773af4352f25ed94d74955b4c3a5 - 0.0% (1.26 KB)
[#005] sha256:9fe4a761f944bd3a3d72fb28014db2c4303e811c7d5b19a8e25ed3bb8be879d7 - 0.01% (335 KB)
[#006] sha256:d8ccefbb2ed9e2cffe4fbeadaac0fd112efebb0ac08ea36f73d84c467a501572 - 0.0% (1.27 KB)
[#007] sha256:38c5cb9e3ef8d3bdc6eec3a5a43861d989bed9bcf867527dcd1492f94d50c37b - 0.0% (1.26 KB)
[#008] sha256:751e01f472e821f6a073a42f3e97d1f7a8a91475e364ce3240850c5228a792ca - 0.0% (1.4 KB)
[#009] sha256:8c4a64c519aff730c877c854a072bff5a984a0cca1871a29da710ba81035fd31 - 8.74% (200 MB)
[#010] sha256:63b55eb9e18404d9ac9178ea4b2bf47a852d1a2cdad51d15bfa3d50215e28ca0 - 0.0% (1.29 KB)
Apply image 10.0.17763.6293
2025-05-09 21:51:15 CSTInstall update 10.0.17763.7314
2025-05-17 05:02:10 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-05-17 05:02:55 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-05-17 05:02:56 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2025-05-17 05:03:03 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-05-17 05:03:03 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+23
2025-05-17 05:03:04 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/23/GPL/openjdk-25-ea+23_windows-x64_bin.zip
2025-05-17 05:03:05 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=903e77b6d79a2c808e32a4111a54802e149b11e39d15629d7a04ccfb97e4c79b
2025-05-17 05:03:30 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-05-17 05:03:32 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
sha256:4482d5cab7821aef0cfe199f2d70bf794b21f68610be4f612e140441dcd4683f
2025-05-16 08:48:12 CST
284 MB
/usr/java/openjdk-25
JAVA_VERSION25-ea+23
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.03% (45.5 MB)
[#001] sha256:57b5aea1d0deca854a3762f4e396dad66260211f50004210a8e73e2146af926a - 12.95% (36.7 MB)
[#002] sha256:9f7d60179c9c55aa630b975f674dd338de2477f5cbfe77d23a6729e6fc063b00 - 71.02% (201 MB)
ADD oraclelinux-9-slim-arm64v8-rootfs.tar.xz / # buildkit
2025-04-30 00:27:11 CST (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-05-16 08:48:12 CST (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2025-05-16 08:48:12 CST (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2025-05-16 08: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-05-16 08:48:12 CST (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2025-05-16 08:48:12 CST (buildkit.dockerfile.v0)ENV JAVA_VERSION=25-ea+23
2025-05-16 08: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/23/GPL/openjdk-25-ea+23_linux-x64_bin.tar.gz'; downloadSha256='f2d8788017e8ffb7bf559492efe8fb46d20d613df50a5eafaed7a8344a54a5bb'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk25/23/GPL/openjdk-25-ea+23_linux-aarch64_bin.tar.gz'; downloadSha256='5f1c62c8b60be587c98a541129878b43e854c0fe167710878aa719e7f3dbefa3'; ;; *) 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-05-16 08: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.