2019-04-12 00:25:46 UTC
3.17 GB
C:\openjdk-13
JAVA_SHA2560ed244de1bed18e9ed2278dfa422488566e91e7ac7e377e6658ab837eeaf674b
JAVA_URLhttps://download.java.net/java/early_access/jdk13/16/GPL/openjdk-13-ea+16_windows-x64_bin.zip
JAVA_VERSION13-ea+16
[#000] sha256:5847a47b8593f7c39aa5e3db09e50b76d42aa8898c0440c70cc9c69747d4c479 - 66.8% (2.12 GB)
[#001] sha256:8c7d1531260f1f41cc711bfb3c8ab8efac981758fd7943518b863803f0b31552 - 27.22% (884 MB)
[#002] sha256:59e24a9056c00889763abd79b000344468ace59ae58ae7d17acdfcbaadd1f6e8 - 0.0% (1.18 KB)
[#003] sha256:b864d5e1e69c5a9ab357b87307521b8cf631a05627c51bed046a3a8fb129e32f - 0.14% (4.65 MB)
[#004] sha256:401247318d4e69b940e17392109c25c868d03be9cf7654a3c71d56d9e9340a8d - 0.0% (1.17 KB)
[#005] sha256:5bbdf946107d2d587d3c542870c9ffc9f56850b23684474baf6acf030e34a3b0 - 0.14% (4.56 MB)
[#006] sha256:151f7977bf6cebc3e37e4541b9a331ac584b4cfe1d0f7c50834770d32ba6fe99 - 0.0% (1.17 KB)
[#007] sha256:2a9b65c4488fd11f949d4d182e4fca1bf3dc7d2ee8e33038f8f489f577fe873a - 0.0% (1.18 KB)
[#008] sha256:a33ebbdfb120e157f4f99437203e04addf82d749af25703681c0a6aed98551e2 - 0.0% (1.17 KB)
[#009] sha256:92759c08e2742be8de24e4c7ee49efbdbb02a831bce380a86a4221a92159079a - 5.7% (185 MB)
[#010] sha256:d3eb06e0446343e31f554f28af1dd2805dd56069b2bd50b29a573d2fdcb40582 - 0.0% (1.17 KB)
Apply image 1709-RTM-amd64
2019-04-04 00:21:24 UTCInstall update 1709-amd64
2019-04-11 22:58:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2019-04-12 00:22:45 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
2019-04-12 00:22:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-13
2019-04-12 00:23: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
2019-04-12 00:23:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=13-ea+16
2019-04-12 00:23:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk13/16/GPL/openjdk-13-ea+16_windows-x64_bin.zip
2019-04-12 00:23:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=0ed244de1bed18e9ed2278dfa422488566e91e7ac7e377e6658ab837eeaf674b
2019-04-12 00:25:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:JAVA_URL); 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 'Verifying install ...'; Write-Host ' java --version'; java --version; Write-Host ' javac --version'; javac --version; Write-Host 'Removing ...'; Remove-Item openjdk.zip -Force; Write-Host 'Complete.'
2019-04-12 00:25:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(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.