2024-02-02 19:48:11 UTC
257 MB
/usr/java/openjdk-22
JAVA_VERSION22-ea+34
LANGC.UTF-8
PATH/usr/java/openjdk-22/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:b8307a22608d5df5e6e46cb974e41cd9778a2521f94cbba7113f1bdcc8d10881 - 19.07% (48.9 MB)
[#001] sha256:1e5e909313650562f8bb3664a095307750ad6b53937d0db7d3f256ecc1726663 - 5.58% (14.3 MB)
[#002] sha256:3461f9fccf6abd1a30064cda1683ec92020703b87e3496558dc787fa58114a44 - 75.35% (193 MB)
/bin/sh -c #(nop) ADD file:ee9ade66919e02c9625e92c89cc2bde2568f070446ebcef5a45409031767cae2 in /
2024-02-02 19:48:11 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-02-02 19:48:11 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2024-02-02 19:48:11 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-22
2024-02-02 19:48:11 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-22/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-02 19:48:11 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-02-02 19:48:11 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=22-ea+34
2024-02-02 19:48:11 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/jdk22/34/GPL/openjdk-22-ea+34_linux-x64_bin.tar.gz'; downloadSha256='170b7192de3e30c796b95d765b12ca457d3f4b05e97bee0bf81709c8b43cd992'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk22/34/GPL/openjdk-22-ea+34_linux-aarch64_bin.tar.gz'; downloadSha256='63460b6a2c4d547d7a8cf4cf86d67a46f5e6a96a62843a787a2aabdbed4df119'; ;; *) 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-02-02 19:48:11 UTC (buildkit.dockerfile.v0)CMD ["jshell"]
2024-02-02 22:55:20 UTC
1.95 GB
C:\openjdk-22
JAVA_SHA25612ee86b08be5cff14ecd89338b34d561c86a064e51083df43d4369c60cc8b99f
JAVA_URLhttps://download.java.net/java/early_access/jdk22/34/GPL/openjdk-22-ea+34_windows-x64_bin.zip
JAVA_VERSION22-ea+34
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 66.16% (1.29 GB)
[#001] sha256:a97a84f9ecb04e6f34ca7d17667bf0abbd83ea39301725226a2352330b4402d3 - 24.38% (488 MB)
[#002] sha256:c3a6a96ea8a0c9224344e2fab15d90a9d1144f92c42d13fce5d03881efa2921d - 0.0% (1.27 KB)
[#003] sha256:200f4103a1fd1f3561d8e1a042c0492b11caf68052060b46b1bc99c14bf1818c - 0.02% (484 KB)
[#004] sha256:94c3bf6975b86c2c64876f2b922f224a5c8b748176e069e8ca7af39173699978 - 0.0% (1.26 KB)
[#005] sha256:129f308f14ae9ea492880300e2c846eff1a6b54d507d2de3a115ff5688ed1b8d - 0.01% (306 KB)
[#006] sha256:3d6de5d655eb3730debb79e4c3259e4664e5f214c037369e131619ab50a3ee0c - 0.0% (1.26 KB)
[#007] sha256:cbeb1b1a01bebefdf179d2ef066a3dcea58f2f2d3fdf4346ea8d5ab25a6a6214 - 0.0% (1.27 KB)
[#008] sha256:05d9e56461c9cda0375f32ea3ed8f23a930b108d8cfa282ceed3aff09d637ea3 - 0.0% (1.26 KB)
[#009] sha256:adc4a36e93d3517cbaeb18c5daa3ed43c691a1d0012f78a2351b844fdfc17636 - 9.42% (189 MB)
[#010] sha256:d28197292d6648c8acbb75a434ddfe5bca3a274309988206c8a13de42fc31690 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-01-04 03:43:51 UTCInstall update 10.0.20348.2227
2024-02-02 22:53:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2024-02-02 22:54:29 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-02-02 22:54:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-22
2024-02-02 22:54:42 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-02-02 22:54:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=22-ea+34
2024-02-02 22:54:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk22/34/GPL/openjdk-22-ea+34_windows-x64_bin.zip
2024-02-02 22:54:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=12ee86b08be5cff14ecd89338b34d561c86a064e51083df43d4369c60cc8b99f
2024-02-02 22:55:19 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-02-02 22:55:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2024-02-02 22:56:58 UTC
2.11 GB
C:\openjdk-22
JAVA_SHA25612ee86b08be5cff14ecd89338b34d561c86a064e51083df43d4369c60cc8b99f
JAVA_URLhttps://download.java.net/java/early_access/jdk22/34/GPL/openjdk-22-ea+34_windows-x64_bin.zip
JAVA_VERSION22-ea+34
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 72.77% (1.54 GB)
[#001] sha256:9da94e8356538054b9b2e3023814100ffe07d42ee8f8dec0ad82a450371abd52 - 18.48% (400 MB)
[#002] sha256:3ca26554e8da250956f06f6b8c4b0cd822339c41c80230218f07c4ed98e3372e - 0.0% (1.33 KB)
[#003] sha256:bf49dddfcb81c93ef1b80d6d2bc8994ada5c47a91066ede5fa1b0fcb1737641d - 0.02% (489 KB)
[#004] sha256:9547eb6a8f767dd4fc0503983d923a20dafdb5e60a3dc8aba6b6a946585dcffc - 0.0% (1.34 KB)
[#005] sha256:3ed3fc1386c8010b08dd6f3cc46453b3b85a7a176e943a363d481a6d29853936 - 0.02% (339 KB)
[#006] sha256:40f048059228d8e4b4894dd1a6e587bf986ffb1bd4124c668edfbcb4f5ea1631 - 0.0% (1.29 KB)
[#007] sha256:915d6990d86a99a9be5495fcb2411301a3ee77d1494ad05fe9c923e74c871603 - 0.0% (1.34 KB)
[#008] sha256:13a93d1d43a7859f237f24d32646fbd0724d3b768f37628707ed7eac42bb3aea - 0.0% (1.33 KB)
[#009] sha256:bd609dec4f9a86cce5b9e970c383219a0b6bb93d885421ab748b75b33849ed65 - 8.72% (189 MB)
[#010] sha256:898865fe6afea94596e4acffb6c0df1f470a9e206d148aca885fbf592d531b18 - 0.0% (1.29 KB)
Apply image 10.0.17763.4499
2024-01-02 22:50:56 UTCInstall update 10.0.17763.5329
2024-02-02 22:53:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2024-02-02 22:55:42 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-02-02 22:55:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-22
2024-02-02 22:56:06 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-02-02 22:56:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=22-ea+34
2024-02-02 22:56:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk22/34/GPL/openjdk-22-ea+34_windows-x64_bin.zip
2024-02-02 22:56:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=12ee86b08be5cff14ecd89338b34d561c86a064e51083df43d4369c60cc8b99f
2024-02-02 22:56:57 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-02-02 22:56:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2024-02-02 19:48:11 UTC
254 MB
/usr/java/openjdk-22
JAVA_VERSION22-ea+34
LANGC.UTF-8
PATH/usr/java/openjdk-22/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:0647c03756d6c2108bc331960a270dba455e910d0f076e51ad650f96b8c54db9 - 18.78% (47.8 MB)
[#001] sha256:d04d3eef9c8a6237c8b46c9794501777a8ce3c58a2e3a645da53db98f8e028aa - 5.89% (15 MB)
[#002] sha256:0f373500f05660cff87f9b699780e4eb4a0864851d2795c185ff74f51ca20ca9 - 75.33% (192 MB)
/bin/sh -c #(nop) ADD file:cd2f7e73ea216c58af8e2422d8e7fdd8cdc79f510d74cf24416e3a3f4929f8c2 in /
2024-02-02 19:48:11 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-02-02 19:48:11 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all # buildkit
2024-02-02 19:48:11 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/java/openjdk-22
2024-02-02 19:48:11 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/java/openjdk-22/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-02 19:48:11 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-02-02 19:48:11 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=22-ea+34
2024-02-02 19:48:11 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/jdk22/34/GPL/openjdk-22-ea+34_linux-x64_bin.tar.gz'; downloadSha256='170b7192de3e30c796b95d765b12ca457d3f4b05e97bee0bf81709c8b43cd992'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk22/34/GPL/openjdk-22-ea+34_linux-aarch64_bin.tar.gz'; downloadSha256='63460b6a2c4d547d7a8cf4cf86d67a46f5e6a96a62843a787a2aabdbed4df119'; ;; *) 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-02-02 19:48:11 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.