2019-01-08 10:35:21 UTC
2.27 GB
C:\openjdk-12
JAVA_SHA2562c83e4ee18e2f6ca7f1062028fa46e8527cb070539bac483a44b00524e6e9e1f
JAVA_URLhttps://download.java.net/java/early_access/jdk12/26/GPL/openjdk-12-ea+26_windows-x64_bin.zip
JAVA_VERSION12-ea+26
[#000] sha256:d9e8b01179bfc94a5bdb1810fbd76b999aa52016001ace2d3a4c4bc7065a9601 - 68.01% (1.55 GB)
[#001] sha256:4a716b198c71b782955b21f1eed303f89f487eaef823ebccdeb452b764512b3b - 23.93% (557 MB)
[#002] sha256:219a311071ee4293d1c43ed6fbbc267544771d491843ca5ff9c1a235c116c96d - 0.0% (1.18 KB)
[#003] sha256:e90a1ba876e7fd9f70f172731b8d353d23e8423dbcf6d411b98819dcba167a56 - 0.19% (4.49 MB)
[#004] sha256:e25c7c350dfec5da194c7ea11240bffcef1f7fc9981eb0adfbf07012b631d6f9 - 0.0% (1.18 KB)
[#005] sha256:2406307c2855df8579b00e3e0e59a48da1814c348532f58cb9a8e6b88cc029c1 - 0.01% (308 KB)
[#006] sha256:e133fb29be7c7ce90d802e3d1fa693e605497f5cb29a0e6ccd950ae2efb74f41 - 0.0% (1.17 KB)
[#007] sha256:c6bccce50f7b7bb4d37287e5b606990f1eeb11b97a93847e030d9ad4eda05efc - 0.0% (1.17 KB)
[#008] sha256:5943d9f9969acf7a3830239bb9880b11e5d94992d7cb759d67127870b562799e - 0.0% (1.17 KB)
[#009] sha256:a36ed940994939a56220554d91c772de0bc3a0dd0dc4c1cadfbb556f99e426e8 - 7.86% (183 MB)
[#010] sha256:99c04d2cc7ec9a28815bd6cb4670f327fd8529f277e5102d0b33c283fc492359 - 0.0% (1.17 KB)
Apply image 10.0.17134.1
2018-12-06 19:45:44 UTCInstall update 10.0.17134.469
2018-12-25 18:18:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2019-01-01 10:33: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
2019-01-01 10:33:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-12
2019-01-01 10:34:03 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-01-08 10:33:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=12-ea+26
2019-01-08 10:33:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk12/26/GPL/openjdk-12-ea+26_windows-x64_bin.zip
2019-01-08 10:33:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=2c83e4ee18e2f6ca7f1062028fa46e8527cb070539bac483a44b00524e6e9e1f
2019-01-08 10:35:19 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-01-08 10:35:21 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.