2024-12-09 05:52:24 UTC
296 MB
/usr/java/openjdk-25
JAVA_VERSION25-ea+1
LANGC.UTF-8
PATH/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:2c0a233485c3a7b6cab556a9a9c2916ca9a3afc8c46097ddfbe0af4fe120a50c - 15.8% (46.8 MB)
[#001] sha256:51e5b1df7e6678619152ca0b4b1694bb07a547b66ace8461d2532c57140d1e6f - 15.69% (46.5 MB)
[#002] sha256:d60adf24fd38e139d4c6dbab4c7d0f0c61d7a47637e28a92ae590d45795ab2ac - 68.5% (203 MB)
ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit
2024-11-21 19:42:52 UTC (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2024-12-09 05:52:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2024-12-09 05:52:24 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2024-12-09 05:52:24 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-12-09 05:52:24 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-12-09 05:52:24 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=25-ea+1
2024-12-09 05:52:24 UTC (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/1/GPL/openjdk-25-ea+1_linux-x64_bin.tar.gz'; downloadSha256='b2c1c3716a21ae204e31e0f37782552ffef0f6e0d9850ba16fb57cd0fa98d84c'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk25/1/GPL/openjdk-25-ea+1_linux-aarch64_bin.tar.gz'; downloadSha256='76761c3ad2bebc865c5ed4ce08a7c5f89eb4f51d3f471d76f650e0556d79daa3'; ;; *) 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
2024-12-09 05:52:24 UTC (buildkit.dockerfile.v0)CMD ["jshell"]
2024-12-11 20:39:05 UTC
2.29 GB
C:\openjdk-25
JAVA_SHA256e613057ce9dd454d410ac2462a504dd7679eeec29d28c18c9d16c6d12f12f346
JAVA_URLhttps://download.java.net/java/early_access/jdk25/1/GPL/openjdk-25-ea+1_windows-x64_bin.zip
JAVA_VERSION25-ea+1
[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 59.35% (1.36 GB)
[#001] sha256:90641eccc9d7a78ab99d123ca3884acb8ffc002eb44bc5e68f261f0810d5202b - 32.14% (755 MB)
[#002] sha256:bdec359a832a8d82911aeb2143d055348b4731f60f3a5bcccaf277e6fa615b63 - 0.0% (1.36 KB)
[#003] sha256:e61c2db8678a0aa0bf5779a9ec2ffd0a3fe912d8d6419d1326a57af24f626445 - 0.01% (340 KB)
[#004] sha256:77ba0e434436a5c3095e6d3946e0eabca53e22c0927ac3c610471f2f07f17b7c - 0.0% (1.33 KB)
[#005] sha256:d448958b6c1bbf218fc77e9cce540c300ca7e33becf5f56fb0c7379b2cae9302 - 0.01% (328 KB)
[#006] sha256:937fa23c2b0ff82779549b13acac50d6f53b8361ccbf934ed234484a0a5e4ef7 - 0.0% (1.37 KB)
[#007] sha256:b28cd080ec18c2b5bf9cfd6a4acc9deb1071827bb06e237e4f44881196f70e7e - 0.0% (1.28 KB)
[#008] sha256:7a56c0d52f5e936bede65619529e692eaf5ce2833a2622cddcbef55b7b59e729 - 0.0% (1.35 KB)
[#009] sha256:951f580c7ffdc27c38b602fc45ae0cabe61174d56610e24decd997754968791c - 8.48% (199 MB)
[#010] sha256:ee60ff16f30dd150cd5f3d1955bf38767cfa3316ee2da00eedd7c310b6705f1f - 0.0% (1.26 KB)
Apply image 10.0.20348.2700
2024-12-05 01:36:58 UTCInstall update 10.0.20348.2966
2024-12-11 20:38:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2024-12-11 20:38:36 UTCpowershell -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.'
2024-12-11 20:38:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2024-12-11 20:38:43 UTCpowershell -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.'
2024-12-11 20:38:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+1
2024-12-11 20:38:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/1/GPL/openjdk-25-ea+1_windows-x64_bin.zip
2024-12-11 20:38:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=e613057ce9dd454d410ac2462a504dd7679eeec29d28c18c9d16c6d12f12f346
2024-12-11 20:39:04 UTCpowershell -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.'
2024-12-11 20:39:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2024-12-11 20:43:14 UTC
2.07 GB
C:\openjdk-25
JAVA_SHA256e613057ce9dd454d410ac2462a504dd7679eeec29d28c18c9d16c6d12f12f346
JAVA_URLhttps://download.java.net/java/early_access/jdk25/1/GPL/openjdk-25-ea+1_windows-x64_bin.zip
JAVA_VERSION25-ea+1
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 77.35% (1.6 GB)
[#001] sha256:3308b54d35b61854238974280a5b0ecc72a98e2ead17d04f42770a7b35407090 - 13.22% (280 MB)
[#002] sha256:3394029499f192ac3be229706271ea5e2d5a1604895ab66dab3173b9373fb981 - 0.0% (1.27 KB)
[#003] sha256:b0b8d16b634861e5b13f96f4921e2c550ca0a7eb018c26ef965d81fa3603920e - 0.02% (462 KB)
[#004] sha256:93d836079c7592f6d11730f7646bc82fe68ada389debefc31808e74b7f9d5077 - 0.0% (1.27 KB)
[#005] sha256:0ae3ef5e1a6e39e83daae8ab302782353f59ea0f7cf3a8c247522ca7ee4f90a3 - 0.01% (317 KB)
[#006] sha256:ec9c106f4166a57968bb01c1d3ef094f968de477b1c7b228101eb2784726d00c - 0.0% (1.27 KB)
[#007] sha256:ce7830650946fc8d807cd0994465d345837d22a10fa0f231c07efaf0a1e3686e - 0.0% (1.27 KB)
[#008] sha256:808f35b3c5234c6275017242c38c8fbcb3477ca1978eaecd5aa0de0ee1d10faa - 0.0% (1.28 KB)
[#009] sha256:8073c63f315cb2646f01cdb3afdd37a8a8eaedad39645062476c68a90b50bde4 - 9.39% (199 MB)
[#010] sha256:3f59074833366a6d0cb0b81fbe5de0eae346f9b68bf6cb263bb855386b3439bc - 0.0% (1.26 KB)
Apply image 10.0.17763.6293
2024-12-05 05:10:22 UTCInstall update 10.0.17763.6659
2024-12-11 20:41:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2024-12-11 20:42:41 UTCpowershell -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.'
2024-12-11 20:42:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-25
2024-12-11 20:42:47 UTCpowershell -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.'
2024-12-11 20:42:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=25-ea+1
2024-12-11 20:42:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk25/1/GPL/openjdk-25-ea+1_windows-x64_bin.zip
2024-12-11 20:42:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=e613057ce9dd454d410ac2462a504dd7679eeec29d28c18c9d16c6d12f12f346
2024-12-11 20:43:13 UTCpowershell -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.'
2024-12-11 20:43:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2024-12-09 05:52:24 UTC
293 MB
/usr/java/openjdk-25
JAVA_VERSION25-ea+1
LANGC.UTF-8
PATH/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:f7fa64c7935f6bb5df09447a656c51d0f8f2a9f6c57838b88508dce34d5ec36a - 15.49% (45.5 MB)
[#001] sha256:50730d7cdebc9dd971fe547b229ac9b36632531d0634a0903681766460bf2cf8 - 15.99% (46.9 MB)
[#002] sha256:54af664e35ef103baa3b3dcc87df83716be18f396018f395d54cf53c3c756382 - 68.52% (201 MB)
ADD oraclelinux-9-slim-arm64v8-rootfs.tar.xz / # buildkit
2024-11-21 19:43:03 UTC (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2024-12-09 05:52:24 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2024-12-09 05:52:24 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-25
2024-12-09 05:52:24 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-25/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-12-09 05:52:24 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-12-09 05:52:24 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=25-ea+1
2024-12-09 05:52:24 UTC (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/1/GPL/openjdk-25-ea+1_linux-x64_bin.tar.gz'; downloadSha256='b2c1c3716a21ae204e31e0f37782552ffef0f6e0d9850ba16fb57cd0fa98d84c'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk25/1/GPL/openjdk-25-ea+1_linux-aarch64_bin.tar.gz'; downloadSha256='76761c3ad2bebc865c5ed4ce08a7c5f89eb4f51d3f471d76f650e0556d79daa3'; ;; *) 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
2024-12-09 05:52:24 UTC (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.