2021-03-15 20:17:01 UTC
2.31 GB
60d10965b1902baab48d9ff621a4a5504c8fa29d0a9543d5e683d0b8059b62b9
NATS_DOCKERIZED1
NATS_SERVER2.2.0
NATS_SERVER_DOWNLOADhttps://github.com/nats-io/nats-server/releases/download/v2.2.0/nats-server-v2.2.0-windows-amd64.zip
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 69.28% (1.6 GB)
[#001] sha256:5ff1512f88ecd4ff0a91ade34d43733c48834433e35f062f80e6e70d706f8d73 - 29.96% (709 MB)
[#002] sha256:31ae1fcdffac4071930a0d98172fc515a43c93aa55870e4b6cc8c789b9444e73 - 0.0% (1.27 KB)
[#003] sha256:3cfde5dabd6353190a5343286e79ed9ad72f47f48ca9197e594b9771b5039e7d - 0.0% (1.36 KB)
[#004] sha256:b50c501e38cf1bef759506cac477656d1525304d314d1a87272b2e5a0d9340ec - 0.0% (1.37 KB)
[#005] sha256:3a3a3e3973ec4905795d6f69337230ae1a3ffa39b5e67e3218240c9d81767f30 - 0.0% (1.37 KB)
[#006] sha256:9182aecd18e9366e616d956594c87a9ec12af89cdb5174b5e44491595b993f44 - 0.0% (1.39 KB)
[#007] sha256:b3f873dc755700e152b9e36bdf8e52acd3c0b3f89834258861ec7b63cad2f83e - 0.2% (4.83 MB)
[#008] sha256:8b58dffd304059fbf01e8f232cae78694b01f59492227e635b13f4146e5398de - 0.55% (13 MB)
[#009] sha256:de1636b7b5c5e6f053527b20437d39447a1784781d3096d989e47565502c2a24 - 0.0% (1.91 KB)
[#010] sha256:6ec3c66b0dc873dd0d4229a873a8159b0f5cede6052128b2801276a929425d83 - 0.0% (1.4 KB)
[#011] sha256:5501a4f11cb5d2d425ca56aa82fb6143e429ff6b4a1fdce2c446c0cd47c21f8c - 0.0% (1.35 KB)
[#012] sha256:16f5314021a971f3e889e272e828fecd71afa4737daaac51ff38997e799940d2 - 0.0% (1.33 KB)
Apply image 1809-RTM-amd64
2021-02-27 09:32:06 UTCInstall update 1809-amd64
2021-03-10 14:15:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-03-10 16:54:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_DOCKERIZED=1
2021-03-15 20:15:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER=2.2.0
2021-03-15 20:15:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER_DOWNLOAD=https://github.com/nats-io/nats-server/releases/download/v2.2.0/nats-server-v2.2.0-windows-amd64.zip
2021-03-15 20:15:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV GIT_DOWNLOAD_SHA256=60d10965b1902baab48d9ff621a4a5504c8fa29d0a9543d5e683d0b8059b62b9
2021-03-15 20:15:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Set-PSDebug -Trace 2
2021-03-15 20:16:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('downloading from {0} ...' -f $env:NATS_SERVER_DOWNLOAD); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $env:NATS_SERVER_DOWNLOAD -OutFile nats.zip; Write-Host ('verifying sha256 ({0}) ...' -f $env:GIT_DOWNLOAD_SHA256); if ((Get-FileHash nats.zip -Algorithm sha256).Hash -ne $env:GIT_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'extracting nats.zip'; Expand-Archive -Path 'nats.zip' -DestinationPath .; Write-Host 'copying binary'; Copy-Item nats-server-v*/nats-server.exe -Destination C:\\nats-server.exe; Write-Host 'cleaning up'; Remove-Item -Force nats.zip; Remove-Item -Recurse -Force nats-server-v*; Write-Host 'complete.';
2021-03-15 20:16:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) COPY file:bef66f144841968228eb6875fdca1fb9c094da90455a3e05090bdd09e690e7ea in C:\nats-server.conf
2021-03-15 20:16:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 4222 6222 8222
2021-03-15 20:17:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENTRYPOINT ["C:\\nats-server.exe"]
2021-03-15 20:17:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["--config" "nats-server.conf"]
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.