Skip to content

Commit

Permalink
Release v2.10.24-RC.2 (#207)
Browse files Browse the repository at this point in the history
Signed-off-by: Waldemar Quevedo <[email protected]>
  • Loading branch information
wallyqs authored Dec 13, 2024
1 parent 36b5ced commit d7de015
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions 2.10.x/alpine3.21/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM alpine:3.21

ENV NATS_SERVER 2.10.24-RC.1
ENV NATS_SERVER 2.10.24-RC.2

RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
aarch64) natsArch='arm64'; sha256='61d607bc9ca53ce53d5a0ccb7e3a9be6be9243c00cc167da1d2a2193c754bc25' ;; \
armhf) natsArch='arm6'; sha256='994208bf4ea26991b5ebac0ded99beb923b2e89696ca3be488077976ed2cd632' ;; \
armv7) natsArch='arm7'; sha256='968198883137420e8a77b5b07631c69fed1520ff3917346285c51087436bc7e0' ;; \
x86_64) natsArch='amd64'; sha256='859fedaa0d456de72f69855f916723d0685da6fbe82440a0e548670db1e7fa47' ;; \
x86) natsArch='386'; sha256='e303550b66766e5ae8be2b7695066ac3073086c1d76af652ed1e52477bc271a1' ;; \
s390x) natsArch='s390x'; sha256='8d2b34dd28eadfcb3397b9f912cfe3f8f9c3956d59c9f63bb76400ef6d1e69a2' ;; \
ppc64le) natsArch='ppc64le'; sha256='d57ba3e53803a6c10b408ea02a77e582589d40fa9f49b4d7a4692ca17e84bad1' ;; \
aarch64) natsArch='arm64'; sha256='5092a6b38401983fd95e51e7b13cdd46a3fb6bd3dee1ff3d206587382fd09386' ;; \
armhf) natsArch='arm6'; sha256='80e14818b327bf3c387f8fc68ee0729a163186dcc3fe997c866342af9ef636ab' ;; \
armv7) natsArch='arm7'; sha256='ad302db517e140e23d05b1254a5a34b48bcf47fee5fcbdfe0ecb5614ed49d151' ;; \
x86_64) natsArch='amd64'; sha256='4d33e2f033ad28ff76bb2f519797cbe7ab4888471aa8ca5585b9f024c9c575fe' ;; \
x86) natsArch='386'; sha256='677b1ddf5a8f541b847d44c5cdf850dbdb837c689b61f2a7ec369faacfb023ff' ;; \
s390x) natsArch='s390x'; sha256='222e8ee832d7e5090fe9254c10cad0163d0d227a70e815c6061c13f82b253349' ;; \
ppc64le) natsArch='ppc64le'; sha256='f8cb5021a72661fdd9f6966b985f3dd5f36c91b92b44a187b654cac1c86319da' ;; \
*) echo >&2 "error: $apkArch is not supported!"; exit 1 ;; \
esac; \
\
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/nanoserver-1809/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM mcr.microsoft.com/windows/nanoserver:1809
ENV NATS_DOCKERIZED 1

COPY --from=nats:2.10.24-RC.1-windowsservercore-1809 C:\\nats-server.exe C:\\nats-server.exe
COPY --from=nats:2.10.24-RC.2-windowsservercore-1809 C:\\nats-server.exe C:\\nats-server.exe
COPY nats-server.conf C:\\nats-server.conf

EXPOSE 4222 8222 6222
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/nanoserver-1809/Dockerfile.preview
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=nats:2.10.24-RC.1-windowsservercore-1809
ARG BASE_IMAGE=nats:2.10.24-RC.2-windowsservercore-1809
FROM $BASE_IMAGE AS base

FROM mcr.microsoft.com/windows/nanoserver:1809
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/scratch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM scratch
ENV PATH="$PATH:/"

COPY --from=nats:2.10.24-RC.1-alpine3.21 /usr/local/bin/nats-server /nats-server
COPY --from=nats:2.10.24-RC.2-alpine3.21 /usr/local/bin/nats-server /nats-server
COPY nats-server.conf /nats-server.conf

EXPOSE 4222 8222 6222
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/scratch/Dockerfile.preview
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=nats:2.10.24-RC.1-alpine3.21
ARG BASE_IMAGE=nats:2.10.24-RC.2-alpine3.21
FROM $BASE_IMAGE AS base

FROM scratch
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/tests/build-images-2019.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Set-PSDebug -Trace 2
# Exit on error.
$ErrorActionPreference = "Stop"

$ver = 'NATS_SERVER 2.10.24-RC.1'.Split(' ')[1]
$ver = 'NATS_SERVER 2.10.24-RC.2'.Split(' ')[1]

Write-Output '-- host info ---'
Write-Output $PSVersionTable
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/tests/build-images.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -ex

ver=(NATS_SERVER 2.10.24-RC.1)
ver=(NATS_SERVER 2.10.24-RC.2)

(
cd "../alpine3.21"
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/tests/run-images-2019.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Set-PSDebug -Trace 2
# Exit on error.
$ErrorActionPreference = "Stop"

$ver = "NATS_SERVER 2.10.24-RC.1".Split(" ")[1]
$ver = "NATS_SERVER 2.10.24-RC.2".Split(" ")[1]

$images = @(
"nats:${ver}-windowsservercore-1809",
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/tests/run-images.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -ex

ver=(NATS_SERVER 2.10.24-RC.1)
ver=(NATS_SERVER 2.10.24-RC.2)

images=(
"nats:${ver[1]}-alpine3.21"
Expand Down
4 changes: 2 additions & 2 deletions 2.10.x/windowsservercore-1809/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ FROM mcr.microsoft.com/windows/servercore:1809
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]

ENV NATS_DOCKERIZED 1
ENV NATS_SERVER 2.10.24-RC.1
ENV NATS_SERVER 2.10.24-RC.2
ENV NATS_SERVER_DOWNLOAD https://github.com/nats-io/nats-server/releases/download/v${NATS_SERVER}/nats-server-v${NATS_SERVER}-windows-amd64.zip
ENV NATS_SERVER_SHASUM e7b203203ac5917918382221fca6f703128f77d1c34c3a9a69233a4c616daf4d
ENV NATS_SERVER_SHASUM fb71dd5602618ccbc33fd418c9aafb307be5301f061da7eeadfaa307d475fd05

RUN Set-PSDebug -Trace 2

Expand Down

0 comments on commit d7de015

Please sign in to comment.