2021-08-25 16:07:37 UTC
2.51 GB
1
NATS_SERVER2.3.4
NATS_SERVER_DOWNLOADhttps://github.com/nats-io/nats-server/releases/download/v2.3.4/nats-server-v2.3.4-windows-amd64.zip
NATS_SERVER_SHASUM729dc0609e0461aa5fb893c85c04c6b6afa40945183d8d8324d03186d1678a99
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 63.85% (1.6 GB)
[#001] sha256:c67ded6868b61d392a0c096f911563fd6bc0bc3ed4fe401d077b3718a1b0cdaf - 35.96% (923 MB)
[#002] sha256:985da5cbc0735e1c422e766af23125ba345f431cb337ea43ec32298d0bb8e4ea - 0.0% (1.26 KB)
[#003] sha256:b3dbdd68a4b0c278695b3e1d401d7eddfb0f0e3aa1e28aed88eb700059648f8f - 0.0% (1.36 KB)
[#004] sha256:ce301f5f5d39ac4e8d9bcfbc328bd5b19ba33be4296e36dfaf38b97e237916cc - 0.0% (1.33 KB)
[#005] sha256:9bd17b61217b895023497478b1741228ad7221f8c66e6112fad1b40bacc1ce5d - 0.0% (1.36 KB)
[#006] sha256:94970df4678e54913d95980d02d9ff71d30d50a6723c96ec2a2c337d5ec94cc3 - 0.0% (1.38 KB)
[#007] sha256:7ca036463e9405a39d3eecaf7c6d1460f43db9a3fb3a3a8ce3fa2a79129d9859 - 0.01% (363 KB)
[#008] sha256:f3001228d4034679deb65e7813f9dad7e0bc52fa0888e3d8aabda79d824feca6 - 0.18% (4.69 MB)
[#009] sha256:ece4ad52d4d5186da25b2c5ee6ee1dece7dfa1006619a8c8dd61f03203bfb572 - 0.0% (1.78 KB)
[#010] sha256:d7bb136a83c4336ce77e23e25557549ed19968dd767ba7b9d2cc1e844eb6ba5f - 0.0% (1.34 KB)
[#011] sha256:f81fc52dc0eca24c32caca4700eda8838cb051b275a5522341356faa175af5f4 - 0.0% (1.3 KB)
[#012] sha256:5997d37eb36b34583172efc2d68231049fdbe4e1566a53766ab1dd9aeac733a6 - 0.0% (1.27 KB)
Apply image 1809-RTM-amd64
2021-08-05 19:44:34 UTCInstall update 1809-amd64
2021-08-25 13:46:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-08-25 16:05:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_DOCKERIZED=1
2021-08-25 16:05:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER=2.3.4
2021-08-25 16:05:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER_DOWNLOAD=https://github.com/nats-io/nats-server/releases/download/v2.3.4/nats-server-v2.3.4-windows-amd64.zip
2021-08-25 16:05:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER_SHASUM=729dc0609e0461aa5fb893c85c04c6b6afa40945183d8d8324d03186d1678a99
2021-08-25 16:06:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Set-PSDebug -Trace 2
2021-08-25 16:07:34 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.';
2021-08-25 16:07:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) COPY file:bef66f144841968228eb6875fdca1fb9c094da90455a3e05090bdd09e690e7ea in C:\nats-server.conf
2021-08-25 16:07:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 4222 6222 8222
2021-08-25 16:07:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENTRYPOINT ["C:\\nats-server.exe"]
2021-08-25 16:07:37 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.