2024-10-10 00:40:04 UTC
1.78 GB
1
NATS_SERVER2.10.21
NATS_SERVER_DOWNLOADhttps://github.com/nats-io/nats-server/releases/download/v2.10.21/nats-server-v2.10.21-windows-amd64.zip
NATS_SERVER_SHASUM2cbb325b34df6c98895d5ef4f2511df8ed0b3f7d2c6b267f9fe7e06938952699
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 90.14% (1.6 GB)
[#001] sha256:eec1ab8e4a3936959c2381d3aaa9aaf9caf01f82fb701f2b4c3cc3dbf6d035dd - 9.51% (173 MB)
[#002] sha256:1196a5b13ab4e3918e43ddd7bbb877dbf52e832257c9ec3eb8019cd414af2e3a - 0.0% (1.39 KB)
[#003] sha256:484871eca2e8c738eb04d659975dd4a80e9dae8daf6e59d2297e6c3e81f03bd6 - 0.0% (1.38 KB)
[#004] sha256:062597d3da773ac0eda34b8ef6655b2f41bf379a91920cecec582645bf1a9510 - 0.0% (1.39 KB)
[#005] sha256:e4c9c5e0d41229e111edae3bb116444393408535594af7c8b786eb47b74cfe31 - 0.0% (1.38 KB)
[#006] sha256:c75402369637b7d5377979ad09f3db68ef661b211fae6c1ee684e08b9ebe00b7 - 0.0% (1.36 KB)
[#007] sha256:5a0db3961a17edb415a970ac425fa26526227549342f8d1eedc6f6122e38d3b1 - 0.02% (414 KB)
[#008] sha256:3b02794e762077c97fcc3977f3b6aec04f194cbc4706f768b96646378acb17b9 - 0.32% (5.84 MB)
[#009] sha256:ccac8f1718cfa17d6aabf8320723f8c6551ff31c7df539a363896c16197af8e1 - 0.0% (1.83 KB)
[#010] sha256:3aae7389a7034fd855776724c426887ff20d0809787d9765977b004851744d79 - 0.0% (1.23 KB)
[#011] sha256:f7acdc238e062b11bc596fe185a0af44657be5e9adff6db23dba25488615889e - 0.0% (1.29 KB)
[#012] sha256:56509b56a8b3caa29269d3fefce2c918e0cb116e98047f9bf7d668d5d54942cb - 0.0% (1.26 KB)
Apply image 10.0.17763.6293
2024-10-04 21:48:44 UTCInstall update 10.0.17763.6414
2024-10-10 00:38:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-10-10 00:38:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_DOCKERIZED=1
2024-10-10 00:38:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER=2.10.21
2024-10-10 00:38:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER_DOWNLOAD=https://github.com/nats-io/nats-server/releases/download/v2.10.21/nats-server-v2.10.21-windows-amd64.zip
2024-10-10 00:38:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER_SHASUM=2cbb325b34df6c98895d5ef4f2511df8ed0b3f7d2c6b267f9fe7e06938952699
2024-10-10 00:38:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Set-PSDebug -Trace 2
2024-10-10 00:40:00 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:NATS_SERVER_SHASUM); if ((Get-FileHash nats.zip -Algorithm sha256).Hash -ne $env:NATS_SERVER_SHASUM) { 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.';
2024-10-10 00:40:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) COPY file:2c51166f33066351f3cfe3734f884c41f36fb66575bdde453c5c93e819cfae35 in C:\nats-server.conf
2024-10-10 00:40:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 4222 6222 8222
2024-10-10 00:40:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENTRYPOINT ["C:\\nats-server.exe"]
2024-10-10 00:40:04 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.