2022-04-13 14:45:23 UTC
2.53 GB
1
NATS_SERVER2.7.4
NATS_SERVER_DOWNLOADhttps://github.com/nats-io/nats-server/releases/download/v2.7.4/nats-server-v2.7.4-windows-amd64.zip
NATS_SERVER_SHASUM0c98c505391e781f5f528817099dc727d83c997b3d48032c0f111d1452e8489b
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 63.15% (1.6 GB)
[#001] sha256:ba8181afd4264392fbbf8df14fb4cddc55fbe085ab000e986b789678bc2bb171 - 36.66% (951 MB)
[#002] sha256:7ebb23aa64bff633cfa3c62b190d84f0e870b04fecb1910f65d0870b5c7f8981 - 0.0% (1.35 KB)
[#003] sha256:d838c7a98a95bee63894bac798124e8c8572bcacc23e22d85332d453a03a7d7c - 0.0% (1.39 KB)
[#004] sha256:3a0657156d36069ff3139e7dcca912fdbb08ec7cb2bdd03bbda38b213815005d - 0.0% (1.4 KB)
[#005] sha256:9a2600f244f19cd8b54cb88f22e09e7782722919ac4f4c951d6e3983c75b7f9c - 0.0% (1.37 KB)
[#006] sha256:bc7557cc1e39a18eb0b77cdb3fa42f4e8ead64c4ddf5d9ee3b3eedf031b86f4a - 0.0% (1.37 KB)
[#007] sha256:877b27fbb9404f7e2f2077f3cfd782934861a012f169a86c7ff00258a2bc6d56 - 0.01% (351 KB)
[#008] sha256:d44575ccaa566365cd7c2e94979c3a8c125e713bd987104aa3d7b2eaedc21bb5 - 0.18% (4.66 MB)
[#009] sha256:3f95149c441f2dd97c433cd69c77b236d43a8fb6f8bb8836619a044144a1178e - 0.0% (1.96 KB)
[#010] sha256:dd923cdce2e70a45cd8de7e5f0d5cfde0566449b8f64dfa93b67d0dfc867179f - 0.0% (1.36 KB)
[#011] sha256:1a533af79a712ad124da5093f5716da36615d5e502340200674230b8de3a1b8e - 0.0% (1.35 KB)
[#012] sha256:d5fb08d905e270c20aa87ff7a06cdb619eb3c8a1493264c7560e8dd69556a19d - 0.0% (1.39 KB)
Apply image 1809-RTM-amd64
2022-04-04 11:20:25 UTCInstall update 1809-amd64
2022-04-13 12:43:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-04-13 14:42:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_DOCKERIZED=1
2022-04-13 14:42:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER=2.7.4
2022-04-13 14:42:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER_DOWNLOAD=https://github.com/nats-io/nats-server/releases/download/v2.7.4/nats-server-v2.7.4-windows-amd64.zip
2022-04-13 14:42:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV NATS_SERVER_SHASUM=0c98c505391e781f5f528817099dc727d83c997b3d48032c0f111d1452e8489b
2022-04-13 14:43:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Set-PSDebug -Trace 2
2022-04-13 14:45:19 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.';
2022-04-13 14:45:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) COPY file:2c51166f33066351f3cfe3734f884c41f36fb66575bdde453c5c93e819cfae35 in C:\nats-server.conf
2022-04-13 14:45:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 4222 6222 8222
2022-04-13 14:45:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENTRYPOINT ["C:\\nats-server.exe"]
2022-04-13 14:45: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.