sha256:14471ca6e3009d1fb45a3e71cc539892739cc283e924237b7bc8366ce2f3cd9c
OS/ARCH
Compressed size
2.57 GB
Last pushed
almost 5 years by doijanky
Type
Image
Vulnerabilities
Not scanned
Manifest digest
sha256:14471ca6e3009d1fb45a3e71cc539892739cc283e924237b7bc8366ce2f3cd9c
0
Apply image 1809-RTM-amd64
1.72 GB
1
Install update 1809-amd64
968.37 MB
2
powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
1.41 KB
3
powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=jdk8u292-b10
1.44 KB
4
powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jre_x64_windows_hotspot_8u292b10.msi ...'); curl.exe -LfsSo openjdk.msi https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jre_x64_windows_hotspot_8u292b10.msi ; Write-Host ('Verifying sha256 (4365ea6d753ce61ce809fcd94e6cda1723673b3a79b4ca71a01599eb0aecef0a) ...'); if ((Get-FileHash openjdk.msi -Algorithm sha256).Hash -ne '4365ea6d753ce61ce809fcd94e6cda1723673b3a79b4ca71a01599eb0aecef0a') { Write-Host 'FAILED!'; exit 1; }; New-Item -ItemType Directory -Path C:\temp | Out-Null; Write-Host 'Installing using MSI ...'; $proc = Start-Process -FilePath "msiexec.exe" -ArgumentList '/i', 'openjdk.msi', '/L*V', 'C:\temp\OpenJDK.log', '/quiet', 'ADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome' -Wait -Passthru; $proc.WaitForExit() ; if ($proc.ExitCode -ne 0) { Write-Host 'FAILED installing MSI!' ; exit 1; }; Remove-Item -Path C:\temp -Recurse | Out-Null; Write-Host 'Removing openjdk.msi ...'; Remove-Item openjdk.msi -Force
74.71 MB