2024-01-06 01:52:17 UTC
257 MB
/usr/java/openjdk-23
JAVA_VERSION23-ea+4
LANGC.UTF-8
PATH/usr/java/openjdk-23/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:bce031bc522d421fb188ef82a530f85c5477bb87cdeacdb911ea86f3f7cd3b66 - 19.06% (48.9 MB)
[#001] sha256:59f31b0f99538b41eccc6c4faa88c6f0a9472f708f078cde5954e4e02c44c744 - 5.57% (14.3 MB)
[#002] sha256:8833b4597cae39e8cf6fdf2c3cb47a0a371d06cae401896bc73dbb34205be4ca - 75.38% (194 MB)
/bin/sh -c #(nop) ADD file:da89b67e484bc45f357250a868fd78e28086b13e4315635d19648e5d43812e89 in /
2023-12-20 22:40:51 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-23
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-23/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=23-ea+4
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; arch="$(objdump="$(command -v objdump)" && objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; case "$arch" in 'i386:x86-64') downloadUrl='https://download.java.net/java/early_access/jdk23/4/GPL/openjdk-23-ea+4_linux-x64_bin.tar.gz'; downloadSha256='9a68dc2301a1ab9d674095ba14205b79ba23dd83002077ae6777edc820e789d3'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk23/4/GPL/openjdk-23-ea+4_linux-aarch64_bin.tar.gz'; downloadSha256='1a7293d34fcb6c1b9f5b0bfc74aabc4e695b0e6d6b6778172d59596b19db6e4e'; ;; *) 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-01-06 01:52:17 UTC (buildkit.dockerfile.v0)CMD ["jshell"]
2024-01-11 00:03:29 UTC
1.95 GB
C:\openjdk-23
JAVA_SHA25614230e6d57a3b39a3b5e232e7095fe1821a48197f75b68ae0f09db29e5391216
JAVA_URLhttps://download.java.net/java/early_access/jdk23/4/GPL/openjdk-23-ea+4_windows-x64_bin.zip
JAVA_VERSION23-ea+4
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 66.16% (1.29 GB)
[#001] sha256:a97a84f9ecb04e6f34ca7d17667bf0abbd83ea39301725226a2352330b4402d3 - 24.38% (488 MB)
[#002] sha256:a7b270ef0cbd43cfe02dfe996548aeb3ed35598a8c6df5963c866774bc1ff7ca - 0.0% (1.28 KB)
[#003] sha256:74654d7815219105b4c690c1af48f749f70a8b7f0e0df00e445b267eb335ff18 - 0.02% (474 KB)
[#004] sha256:a5eb2d0d69d8a8238779a9ff3cf36ebf9de189128df39e0d2238347c8a202b23 - 0.0% (1.26 KB)
[#005] sha256:911a4bfc42e6e002b164c7024a7ad691314fecd49c652ef74754a68792ad087e - 0.02% (329 KB)
[#006] sha256:61e5c612f2dec5c6e8ead1c65d3cddbc1de8edb9fae74e77327790763a94dc3b - 0.0% (1.26 KB)
[#007] sha256:430633b258fabc4e7ed626908b17a409a833ace669122a46263b74f9c40fa8dc - 0.0% (1.27 KB)
[#008] sha256:e1768da87785943d0ce05854ac1674719c263728cf52089fdc93d9d2c90b92f5 - 0.0% (1.26 KB)
[#009] sha256:f2bf9b07d1916777c40446d9d98821b74848d5de68fcc082dc5d4790617f8a60 - 9.42% (189 MB)
[#010] sha256:f2c8b77d0665a3a39b32dd5b07296d369e20c9f1f5f2a8e03eff1f56102c4893 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-01-04 03:43:51 UTCInstall update 10.0.20348.2227
2024-01-11 00:02:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2024-01-11 00:02:55 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-01-11 00:02:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-23
2024-01-11 00:03:01 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-01-11 00:03:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=23-ea+4
2024-01-11 00:03:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk23/4/GPL/openjdk-23-ea+4_windows-x64_bin.zip
2024-01-11 00:03:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=14230e6d57a3b39a3b5e232e7095fe1821a48197f75b68ae0f09db29e5391216
2024-01-11 00:03:28 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-01-11 00:03:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2024-01-11 00:07:07 UTC
2.11 GB
C:\openjdk-23
JAVA_SHA25614230e6d57a3b39a3b5e232e7095fe1821a48197f75b68ae0f09db29e5391216
JAVA_URLhttps://download.java.net/java/early_access/jdk23/4/GPL/openjdk-23-ea+4_windows-x64_bin.zip
JAVA_VERSION23-ea+4
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 72.77% (1.54 GB)
[#001] sha256:9da94e8356538054b9b2e3023814100ffe07d42ee8f8dec0ad82a450371abd52 - 18.48% (400 MB)
[#002] sha256:2ddd69853f8196922e8e23c70d2ba14a7349d4aa076f88e17f3f4ae96fd6c83f - 0.0% (1.27 KB)
[#003] sha256:9e86a0a96929084896173eded50df0a42c5dfc0f58653e3f2a9ec86a014aaaa1 - 0.02% (476 KB)
[#004] sha256:cd93d189f2cd720cc5a9e8556d5a582a109c9b2e40ba3610336eaf91d8701af4 - 0.0% (1.27 KB)
[#005] sha256:c562c23cc9c7ef632a9ead49e40096e27a14bae01b473c999a9847011bb1b63d - 0.02% (332 KB)
[#006] sha256:2ba769df7dcc3ffd716295bab2ff07734ac9df51898e4ca21ca26c6177f70c0d - 0.0% (1.25 KB)
[#007] sha256:ca84b7f9dac799ec366590beb4595ada1c42690853b9efd8e6486638152c9ae7 - 0.0% (1.27 KB)
[#008] sha256:756d3c564c2030a500b10765049e9634bad015735adb01ce17a6c46900ed47a6 - 0.0% (1.26 KB)
[#009] sha256:c3c6f972c7547d8b3c9e4cd79930ed242ff52b130c0f4c255d38148e235c51fd - 8.72% (189 MB)
[#010] sha256:742991286e01a4716e15cf8287b0a70a45fc25393c99e9667591ceb470e430bb - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-01-02 22:50:56 UTCInstall update 10.0.17763.5329
2024-01-11 00:05:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2024-01-11 00:06:02 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-01-11 00:06:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-23
2024-01-11 00:06:24 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-01-11 00:06:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=23-ea+4
2024-01-11 00:06:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk23/4/GPL/openjdk-23-ea+4_windows-x64_bin.zip
2024-01-11 00:06:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=14230e6d57a3b39a3b5e232e7095fe1821a48197f75b68ae0f09db29e5391216
2024-01-11 00:07:06 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-01-11 00:07:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2024-01-06 01:52:17 UTC
254 MB
/usr/java/openjdk-23
JAVA_VERSION23-ea+4
LANGC.UTF-8
PATH/usr/java/openjdk-23/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:f065eb68ef2e8ae9b60daa693d770aedc4bf77fb5bacc4b006960acc8eb01f28 - 18.78% (47.8 MB)
[#001] sha256:e51f352f0f1de3c800e109fad5b2dae0cb9097249a14ca89d420642f858cc188 - 5.88% (15 MB)
[#002] sha256:02796b6a1aa5143213b5fe0f11c15e1267bd1160a6f52bf366cb2b6192d91823 - 75.34% (192 MB)
/bin/sh -c #(nop) ADD file:b736c1bb75174fcadec81f68a30d2db09432c3999d3df92c07c057a5cc8b07a6 in /
2023-12-20 22:53:15 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-23
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-23/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=23-ea+4
2024-01-06 01:52:17 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; arch="$(objdump="$(command -v objdump)" && objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; case "$arch" in 'i386:x86-64') downloadUrl='https://download.java.net/java/early_access/jdk23/4/GPL/openjdk-23-ea+4_linux-x64_bin.tar.gz'; downloadSha256='9a68dc2301a1ab9d674095ba14205b79ba23dd83002077ae6777edc820e789d3'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk23/4/GPL/openjdk-23-ea+4_linux-aarch64_bin.tar.gz'; downloadSha256='1a7293d34fcb6c1b9f5b0bfc74aabc4e695b0e6d6b6778172d59596b19db6e4e'; ;; *) 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-01-06 01:52:17 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.