2022-01-08 00:32:00 UTC
233 MB
/usr/java/openjdk-18
JAVA_VERSION18-ea+30
LANGC.UTF-8
PATH/usr/java/openjdk-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:155aced2666332ddff5a741b0236f360820e7aa3fc3dde2224fc17a91fc48db6 - 17.24% (40.2 MB)
[#001] sha256:ac5901c58ecb29b61159b5e3a63dfbb0fb520b2de1d33c9fb038d9b697e3fcd4 - 5.54% (12.9 MB)
[#002] sha256:286dcb1da6bf4f4f011dd855626900c8f6b94d1e512dd95c9ac4fedff6a71806 - 77.23% (180 MB)
/bin/sh -c #(nop) ADD file:15b307e0b1aafead42c103e34d3e51a271acea1ab0b68961e239f11af3b0d179 in /
2021-12-23 02:20:57 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2021-12-23 02:37:54 UTC/bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all
2021-12-23 02:38:28 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/java/openjdk-18
2021-12-23 02:38:28 UTC/bin/sh -c #(nop) ENV PATH=/usr/java/openjdk-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-23 02:38:28 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2022-01-08 00:31:39 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=18-ea+30
2022-01-08 00:31:59 UTC/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/jdk18/30/GPL/openjdk-18-ea+30_linux-x64_bin.tar.gz'; downloadSha256='4e34f307a3d9b1c020a864e863a0f47c701036592d634da55c6e548d101526ed'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk18/30/GPL/openjdk-18-ea+30_linux-aarch64_bin.tar.gz'; downloadSha256='10fd6ab1369a4cd536570c4cccfd2aead86bfd733fd7171de74e0b979c04b96e'; ;; *) 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
2022-01-08 00:32:00 UTC/bin/sh -c #(nop) CMD ["jshell"]
2022-01-12 05:22:39 UTC
2.23 GB
C:\openjdk-18
JAVA_SHA25657e77e09ea1801bd17d69a31b973074ea5bfeafdc150ca0376b7df8f593629f3
JAVA_URLhttps://download.java.net/java/early_access/jdk18/30/GPL/openjdk-18-ea+30_windows-x64_bin.zip
JAVA_VERSION18-ea+30
[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 52.3% (1.17 GB)
[#001] sha256:9b593686e27e7562a5b0696823307ffa822214cee8bd2eec1075eadad4cb9712 - 39.94% (912 MB)
[#002] sha256:99e0b71ede60d3b2c5b9053bf27e47c0875590991eede49813d849cc660c7551 - 0.0% (1.29 KB)
[#003] sha256:c42ce1d7b7857ac1eb8d4fbf9579f07cf6a89ed47f3a0979451365d92324f699 - 0.03% (630 KB)
[#004] sha256:5bcdfa2da65ea1a1d06b424da27e67263157b1e5a0cb8cf1a5ea3abede1a4007 - 0.0% (1.35 KB)
[#005] sha256:781d4d837417b9f24bd4783e24e7885836d5bbbccd2a465481dfb85aef6cac6c - 0.02% (539 KB)
[#006] sha256:748080050c60eaa9f3140b41c6bd630a27a6b7124a6400786af351d904f8524e - 0.0% (1.4 KB)
[#007] sha256:845352c55222ce1d4da98d5d9aeb4560b39fe26e780810f207c7beae16ecb07c - 0.0% (1.4 KB)
[#008] sha256:9938c512137d258605deda56fa17013707713090d27391d3bc66c164ca795c22 - 0.0% (1.38 KB)
[#009] sha256:f1293b9a0c00deefb06ed91cb7ad6c727249dbc78c16f51df2c7580d2819632d - 7.71% (176 MB)
[#010] sha256:71d43a192a8ed40a247395cff1cf54d39d29f6e3b244d86952cf5dd894e4235d - 0.0% (1.37 KB)
Apply image 2022-RTM-amd64
2022-01-06 03:56:33 UTCInstall update ltsc2022-amd64
2022-01-11 18:59:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-01-12 05:09:49 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.'
2022-01-12 05:21:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-18
2022-01-12 05:21:31 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.'
2022-01-12 05:21:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=18-ea+30
2022-01-12 05:21:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk18/30/GPL/openjdk-18-ea+30_windows-x64_bin.zip
2022-01-12 05:21:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=57e77e09ea1801bd17d69a31b973074ea5bfeafdc150ca0376b7df8f593629f3
2022-01-12 05:22:36 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.'
2022-01-12 05:22:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2022-01-12 05:25:54 UTC
2.7 GB
C:\openjdk-18
JAVA_SHA25657e77e09ea1801bd17d69a31b973074ea5bfeafdc150ca0376b7df8f593629f3
JAVA_URLhttps://download.java.net/java/early_access/jdk18/30/GPL/openjdk-18-ea+30_windows-x64_bin.zip
JAVA_VERSION18-ea+30
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 59.31% (1.6 GB)
[#001] sha256:635f15ebd5b486e8a00bf217a0574a29550e5bbf08c1d021e1e308100b2e49b5 - 34.31% (948 MB)
[#002] sha256:3a70d5fd54e2005efbf590b48700ed40509210354a0d8f3f18c3b444a5325896 - 0.0% (1.36 KB)
[#003] sha256:d74f00c66c11971de2e35204e3f42aca9ac77b3dba4dcd545130bea41c91fd27 - 0.01% (338 KB)
[#004] sha256:9c5ef5c6a221a0976ffb06a622ddbeb928e23f646d54ec24e713534a432fd788 - 0.0% (1.39 KB)
[#005] sha256:e1738ecfeffa0ad0e4c36d0a2110a8003421d56cec36f4a31c700953c0bc6bc7 - 0.01% (296 KB)
[#006] sha256:14c62b5744eaef65206df9ca7a42d3d440570ad8131b93cfced7004be36c59db - 0.0% (1.38 KB)
[#007] sha256:c85ad761c2b0483cac1059235b6181bf1a7d964bf07e9036022ed45e984fc662 - 0.0% (1.39 KB)
[#008] sha256:6aa30ea07b77bbedcdbcf9626bdedb35d681aac64bfcbc773a6304c0c899f20a - 0.0% (1.39 KB)
[#009] sha256:fbc41987746763078deae6d29239f68758b8e9aef2094c3f8a1dd12c751f4dd3 - 6.36% (176 MB)
[#010] sha256:ff25853a3e9481526295980e759afc1c7ee7b40da144fe3ba4fb3edc1bdd41fc - 0.0% (1.38 KB)
Apply image 1809-RTM-amd64
2022-01-07 22:48:13 UTCInstall update 1809-amd64
2022-01-12 05:11:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-01-12 05:12:35 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.'
2022-01-12 05:22:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-18
2022-01-12 05:24:10 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.'
2022-01-12 05:24:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=18-ea+30
2022-01-12 05:24:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk18/30/GPL/openjdk-18-ea+30_windows-x64_bin.zip
2022-01-12 05:24:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=57e77e09ea1801bd17d69a31b973074ea5bfeafdc150ca0376b7df8f593629f3
2022-01-12 05:25:52 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.'
2022-01-12 05:25:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
2022-01-08 00:53:05 UTC
233 MB
/usr/java/openjdk-18
JAVA_VERSION18-ea+30
LANGC.UTF-8
PATH/usr/java/openjdk-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:53f096d4aa0757c30613f325df1e03a90db9d9879ea251b394e3ab0a068b5610 - 17.23% (40.1 MB)
[#001] sha256:921862a08fd8bc652539d62804daf06ab6464bd5b42061f5bedbdfa73bd62136 - 5.86% (13.6 MB)
[#002] sha256:de3fe6818c31a321f2053c06ecbe47b79ca05d175f1be87d83e5968e3c577330 - 76.91% (179 MB)
/bin/sh -c #(nop) ADD file:140d632303428d802f77f473aef33fa52daacdfc76b23edde4344be661c1d4b0 in /
2021-12-23 02:40:46 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2021-12-23 02:58:38 UTC/bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all
2021-12-23 02:58:39 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/java/openjdk-18
2021-12-23 02:58:40 UTC/bin/sh -c #(nop) ENV PATH=/usr/java/openjdk-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-12-23 02:58:41 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2022-01-08 00:52:46 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=18-ea+30
2022-01-08 00:53:05 UTC/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/jdk18/30/GPL/openjdk-18-ea+30_linux-x64_bin.tar.gz'; downloadSha256='4e34f307a3d9b1c020a864e863a0f47c701036592d634da55c6e548d101526ed'; ;; 'aarch64') downloadUrl='https://download.java.net/java/early_access/jdk18/30/GPL/openjdk-18-ea+30_linux-aarch64_bin.tar.gz'; downloadSha256='10fd6ab1369a4cd536570c4cccfd2aead86bfd733fd7171de74e0b979c04b96e'; ;; *) 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
2022-01-08 00:53:05 UTC/bin/sh -c #(nop) 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.