sha256:d7c14970c12ed64534cab86973391bef19481f559e9ff9f8ae6d8b2e01d4e9b8
2018-02-14 18:15:39 CST
5.12 GB
C:\ojdkbuild
JAVA_OJDKBUILD_SHA2567fcd9909173ed19f4ae6c0bba8b32b1e6bece2d49eb9d87271828be8121fc31b
JAVA_OJDKBUILD_VERSION1.8.0.161-1
JAVA_OJDKBUILD_ZIPjava-1.8.0-openjdk-1.8.0.161-1.b14.ojdkbuild.windows.x86_64.zip
JAVA_VERSION8u161
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 74.08% (3.79 GB)
[#001] sha256:cfb27c9ba25f60372361ea8779c927f066c385b6339e29fda5c739feb3163686 - 23.81% (1.22 GB)
[#002] sha256:8611b5f5c0763027c0888bf4535b5f42b6c1a8f72d264baea9e7362a4907c2c3 - 0.0% (1.17 KB)
[#003] sha256:3b2bf3591de3ac4ce8aafac13ba82567a7ae73a7dbd57b90700d9af024e02cee - 0.0% (1.17 KB)
[#004] sha256:c76230127daeeca83bdad7b0383493b1bc3db4d0897f9b2b3081249759abec51 - 0.09% (4.7 MB)
[#005] sha256:20d1d9f37adcca26528230a406c02d01294051f804a8570bb8fed639e58a8a6c - 0.0% (1.13 KB)
[#006] sha256:1cc3db7361a945660c6a52d8f958d9bd4df2211da75b922397f40f09af4a3553 - 0.0% (1.15 KB)
[#007] sha256:4d333a3df18ac7b3663dae8d5c70721eb0d17619c34e95a32d9a55deba50e3fd - 0.0% (1.15 KB)
[#008] sha256:dd03a0df21650f6896e90e4c4868e3be2905fb369fdf1be4a8b240d234e2033b - 0.0% (1.17 KB)
[#009] sha256:0c5718fea59fc0230d9cf58f98f29253d3744e920282888594fae4d414b18178 - 2.02% (106 MB)
Apply image 10.0.14393.0
2018-02-14 03:44:02 CSTInstall update 10.0.14393.2068
2018-02-14 11:21:40 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-02-14 18:02:55 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\ojdkbuild
2018-02-14 18:04:13 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;
2018-02-14 18:13:48 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=8u161
2018-02-14 18:13:48 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_VERSION=1.8.0.161-1
2018-02-14 18:13:49 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_ZIP=java-1.8.0-openjdk-1.8.0.161-1.b14.ojdkbuild.windows.x86_64.zip
2018-02-14 18:13:50 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_SHA256=7fcd9909173ed19f4ae6c0bba8b32b1e6bece2d49eb9d87271828be8121fc31b
2018-02-14 18:15:39 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = ('https://github.com/ojdkbuild/ojdkbuild/releases/download/{0}/{1}' -f $env:JAVA_OJDKBUILD_VERSION, $env:JAVA_OJDKBUILD_ZIP); Write-Host ('Downloading {0} ...' -f $url); Invoke-WebRequest -Uri $url -OutFile 'ojdkbuild.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:JAVA_OJDKBUILD_SHA256); if ((Get-FileHash ojdkbuild.zip -Algorithm sha256).Hash -ne $env:JAVA_OJDKBUILD_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; Expand-Archive ojdkbuild.zip -DestinationPath C:\; Write-Host 'Renaming ...'; Move-Item -Path ('C:\{0}' -f ($env:JAVA_OJDKBUILD_ZIP -Replace '.zip$', '')) -Destination $env:JAVA_HOME ; Write-Host 'Verifying install ...'; Write-Host ' java -version'; java -version; Write-Host ' javac -version'; javac -version; Write-Host 'Removing ...'; Remove-Item ojdkbuild.zip -Force; Write-Host 'Complete.';
sha256:8227539ccebf0dad6a9b769ea2d61e7bef94875a5b63bb2789eb20b88de13bed
2018-04-27 02:06:07 CST
2.93 GB
C:\ojdkbuild
JAVA_OJDKBUILD_SHA2567fcd9909173ed19f4ae6c0bba8b32b1e6bece2d49eb9d87271828be8121fc31b
JAVA_OJDKBUILD_VERSION1.8.0.161-1
JAVA_OJDKBUILD_ZIPjava-1.8.0-openjdk-1.8.0.161-1.b14.ojdkbuild.windows.x86_64.zip
JAVA_VERSION8u161
[#000] sha256:5847a47b8593f7c39aa5e3db09e50b76d42aa8898c0440c70cc9c69747d4c479 - 72.17% (2.12 GB)
[#001] sha256:2dd7b93d509d5e7086ff08713d58180cc639adf9536c560a2dca5bf7139f5323 - 24.17% (726 MB)
[#002] sha256:c87bca28288a632bcbf4a2a60ebf89a3e996de2cd79edec70cde506458b9b16c - 0.0% (1.18 KB)
[#003] sha256:31131dc3dce05a183b79d2f8f0875b2dfa07459308d06c8001e04e2671993f15 - 0.0% (1.18 KB)
[#004] sha256:6ae06e6181c2ed81d08c244d8160ce1a8cd70ac216cfcca49a16518f6eaf545b - 0.15% (4.47 MB)
[#005] sha256:76bf91a3ae085e454b5434169e02ae6ee084229050d368f4296c016f4423f658 - 0.0% (1.17 KB)
[#006] sha256:c96b8b3d86e25cbc86fd24e7afb60330a5cb29410350f62325e77a70fb812d71 - 0.0% (1.17 KB)
[#007] sha256:5374aa642d0083aba6a13e6d7a829155e0ad7977774f94b39a9f160628c2459c - 0.0% (1.16 KB)
[#008] sha256:cfcb553b33d4f3027b636e916a12c29ed6598908c4dd87d443ea4fd2d9914040 - 0.0% (1.17 KB)
[#009] sha256:6a51695c80307df5b2c8a289944897422027caf3ef0bf996efcd6dd2b25db97c - 3.51% (106 MB)
Apply image 10.0.16299.15
2018-04-03 02:15:35 CSTInstall update 10.0.16299.371
2018-04-11 17:40:22 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-04-11 17:40:28 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\ojdkbuild
2018-04-27 01:46:19 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;
2018-04-27 02:04:22 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=8u161
2018-04-27 02:04:23 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_VERSION=1.8.0.161-1
2018-04-27 02:04:24 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_ZIP=java-1.8.0-openjdk-1.8.0.161-1.b14.ojdkbuild.windows.x86_64.zip
2018-04-27 02:04:25 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_SHA256=7fcd9909173ed19f4ae6c0bba8b32b1e6bece2d49eb9d87271828be8121fc31b
2018-04-27 02:06:07 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = ('https://github.com/ojdkbuild/ojdkbuild/releases/download/{0}/{1}' -f $env:JAVA_OJDKBUILD_VERSION, $env:JAVA_OJDKBUILD_ZIP); Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'ojdkbuild.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:JAVA_OJDKBUILD_SHA256); if ((Get-FileHash ojdkbuild.zip -Algorithm sha256).Hash -ne $env:JAVA_OJDKBUILD_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; Expand-Archive ojdkbuild.zip -DestinationPath C:\; Write-Host 'Renaming ...'; Move-Item -Path ('C:\{0}' -f ($env:JAVA_OJDKBUILD_ZIP -Replace '.zip$', '')) -Destination $env:JAVA_HOME ; Write-Host 'Verifying install ...'; Write-Host ' java -version'; java -version; Write-Host ' javac -version'; javac -version; Write-Host 'Removing ...'; Remove-Item ojdkbuild.zip -Force; 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.