2024-09-11 01:42:27 UTC
1.61 GB
1
NATS_SERVER2.9.25
NATS_SERVER_DOWNLOADhttps://github.com/nats-io/nats-server/releases/download/v2.9.25/nats-server-v2.9.25-windows-amd64.zip
NATS_SERVER_SHASUM7cebcf3487ebeae9ab66e2af8a99ce891d78357bb9325de95d1c38bbf5c647a2
[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 99.66% (1.6 GB)
[#001] sha256:c5a5162739754b5642e9d9ce80db93d3e8a06d96d4b7af006e2af2edfd913d17 - 0.0% (1.38 KB)
[#002] sha256:b5a4c2846a970a55183799315672cef44169207a712160d08dfb8942b0f04cd0 - 0.0% (1.29 KB)
[#003] sha256:1b848fac1a4d128d3496467e554f3ad04b43bac254090cf135577e38a92aadb7 - 0.0% (1.29 KB)
[#004] sha256:e5a1b3df31ec3e7dc541cedfdcba51c2f9b17f157fe577b89001f4277df97f67 - 0.0% (1.26 KB)
[#005] sha256:c990c85af1714018d62fd650d6039759e5ae1625c7ffefaccd553a2f0f5b4014 - 0.0% (1.27 KB)
[#006] sha256:5e1f3034cd2b554158e4002f8929a567fda1ae5cc4849766efe3ab24332feb79 - 0.02% (298 KB)
[#007] sha256:af95cd48db22a77c368dc70685150cd820788c343765078eafdca0e4b901e6b0 - 0.33% (5.36 MB)
[#008] sha256:2e17d557b40bf07f23acec7794278c23e3acafe19b929881498dc97fa6407138 - 0.0% (1.84 KB)
[#009] sha256:c5e722b91893951c783bfd3be4b104d2986151d2211a9efb9ecd80f76dea7290 - 0.0% (1.27 KB)
[#010] sha256:cf3a1fb88d7820004241bc4c2bf62de96b1c725a6181653440be88f694deb617 - 0.0% (1.26 KB)
[#011] sha256:4273a62c4c94906320d0648bcd2fdc4134e735a3841f1fc72d74810014a0dd74 - 0.0% (1.33 KB)
Apply image 10.0.17763.6293
2024-09-11 01:39:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-09-11 01:39:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_DOCKERIZED=1
2024-09-11 01:41:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER=2.9.25
2024-09-11 01:41:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER_DOWNLOAD=https://github.com/nats-io/nats-server/releases/download/v2.9.25/nats-server-v2.9.25-windows-amd64.zip
2024-09-11 01:41:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER_SHASUM=7cebcf3487ebeae9ab66e2af8a99ce891d78357bb9325de95d1c38bbf5c647a2
2024-09-11 01:41:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Set-PSDebug -Trace 2
2024-09-11 01:42:23 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-09-11 01:42:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) COPY file:2c51166f33066351f3cfe3734f884c41f36fb66575bdde453c5c93e819cfae35 in C:\nats-server.conf
2024-09-11 01:42:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 4222 6222 8222
2024-09-11 01:42:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENTRYPOINT ["C:\\nats-server.exe"]
2024-09-11 01:42:27 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.