2023-04-12 02:46:23 UTC
1.93 GB
1
NATS_SERVER2.9.15
NATS_SERVER_DOWNLOADhttps://github.com/nats-io/nats-server/releases/download/v2.9.15/nats-server-v2.9.15-windows-amd64.zip
NATS_SERVER_SHASUM090f5c310beeb94f603898c6940f2793c292b20c131e578967fc2cdbd01bd42a
[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 82.22% (1.59 GB)
[#001] sha256:e9094c39c4b36a86359abb3da9e9d0d9c69b6930e9c7b308120310d43d63f693 - 17.49% (347 MB)
[#002] sha256:d81203863a516fb636d8e06e71cc938e6621b372bd98921ce87d23012f6c9e4c - 0.0% (1.35 KB)
[#003] sha256:d22e5d770cd81ae0b8d0e969f23155d2900d6270b1dd31877d3d940112d6c37c - 0.0% (1.35 KB)
[#004] sha256:d654aed9de676c8c15b484ab00ae4844ba79daf4719575483ac1713c1fea79e5 - 0.0% (1.4 KB)
[#005] sha256:6971dd6b86955eb21ff8ff2fc06867f884a06195e44d97db038e01149045ce7f - 0.0% (1.38 KB)
[#006] sha256:003f1547986644868ba699177eec8a522abf35d0b1eeca5b66a23c5250d6e683 - 0.0% (1.38 KB)
[#007] sha256:ce4079076d2a3e2cd7f12825a33036fbc3e18a4cad17a79cb53bc17f9e443891 - 0.02% (484 KB)
[#008] sha256:e1aa8f2c9e3b66af0ee150f08b553ccd38d2baeaa402a72b5105a707903d6cfd - 0.26% (5.14 MB)
[#009] sha256:5608c53cc0c946ad500fdbdd81bf5f958f50b2105245342976714ebc075160b9 - 0.0% (1.98 KB)
[#010] sha256:4b3ae2de115b72a4c93eeba7e35bc9dae9ccedb47373b06587d415d0458d242f - 0.0% (1.37 KB)
[#011] sha256:5fea7926103053f3ba1668e1ba8cc86fe5e6f2442f53e36d435401c3a9cb094f - 0.0% (1.36 KB)
[#012] sha256:07ca86945cd5e9cadc7e0297ae741b3ee5d5f1093d44e9f9a0165755ce4b362a - 0.0% (1.41 KB)
Apply image 10.0.17763.3887
2023-04-05 00:41:54 UTCInstall update 10.0.17763.4252
2023-04-12 00:18:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-04-12 02:41:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_DOCKERIZED=1
2023-04-12 02:41:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER=2.9.15
2023-04-12 02:41:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER_DOWNLOAD=https://github.com/nats-io/nats-server/releases/download/v2.9.15/nats-server-v2.9.15-windows-amd64.zip
2023-04-12 02:41:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER_SHASUM=090f5c310beeb94f603898c6940f2793c292b20c131e578967fc2cdbd01bd42a
2023-04-12 02:43:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Set-PSDebug -Trace 2
2023-04-12 02:46:17 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.';
2023-04-12 02:46:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) COPY file:2c51166f33066351f3cfe3734f884c41f36fb66575bdde453c5c93e819cfae35 in C:\nats-server.conf
2023-04-12 02:46:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 4222 6222 8222
2023-04-12 02:46:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENTRYPOINT ["C:\\nats-server.exe"]
2023-04-12 02:46:23 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.