sha256:96265f4d516acde28eb68c312fb489b3560e4d2a526fcaa538bf38a85319d7c1
2021-01-14 05:01:39 CST
5.51 GB
C:\openjdk-8
JAVA_URLhttps://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u275-b01/OpenJDK8U-jdk_x64_windows_8u275b01.zip
JAVA_VERSION8u275
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 68.81% (3.79 GB)
[#001] sha256:bd091f41e44cabc11504b7e130c74a7ef654f58840ba102e3507c4fdf2bae994 - 29.14% (1.61 GB)
[#002] sha256:51e9c5c519fdcd28aa0ed033a3cc16cf37dd76bea8ec06b2dc4a344415bdd224 - 0.0% (1.14 KB)
[#003] sha256:d099a75438e800bdc52bf4e96ce679540e315aeb79c38071bf9c71a60799d5a7 - 0.0% (1.1 KB)
[#004] sha256:10e6efe4c025674f508f6b320e81ccbb01dbb030fbfb955701ab03ce3aa867f7 - 0.17% (9.68 MB)
[#005] sha256:fb28ea97365042cef4e4e4938b845155712e5c19d910c0dfca8ac244331e22b3 - 0.0% (1.12 KB)
[#006] sha256:d64dab9ef17d284bdb7a2f5070d01b1b2ca9053ea2d69a57ec1f31c854bf30dd - 0.0% (1.12 KB)
[#007] sha256:5d61d8955f379b59e5fbc2fdf2158acfe2b0a86ee2229f9096cb16771f4b2405 - 1.88% (106 MB)
Apply image 1607-RTM-amd64
2021-01-07 19:30:00 CSTInstall update ltsc2016-amd64
2021-01-13 21:37:06 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-01-14 04:58:10 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-8
2021-01-14 04:59:31 CSTpowershell -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
2021-01-14 04:59:32 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=8u275
2021-01-14 04:59:33 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u275-b01/OpenJDK8U-jdk_x64_windows_8u275b01.zip
2021-01-14 05:01:39 CSTpowershell -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 '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.'
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.