Skip to content

Commit

Permalink
Release v2.10.25-RC.2
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Twigg <[email protected]>
  • Loading branch information
neilalexander committed Jan 13, 2025
1 parent c5135d6 commit 7eecf27
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
ENV NATS_SERVER 2.10.25-RC.2

RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
aarch64) natsArch='arm64'; sha256='a4ae6c46ef545a13a3214bc35696b2806e05b60742f7ed5b2082d3c2f5af854f' ;; \
armhf) natsArch='arm6'; sha256='0061ec69127c1d321af8139a6bdda4e1222a3cfe1ad2654370420734ec735171' ;; \
armv7) natsArch='arm7'; sha256='344d4da46b21291a992a3ed7bbb2ef31539aa7193b6c5936a356be9590b0e961' ;; \
x86_64) natsArch='amd64'; sha256='ee6500f364e3a741b496ae0296c04f2a9d53bbaabac457104ac74596b4a59d85' ;; \
x86) natsArch='386'; sha256='75edd97f98fd0735b2288fb0c0eb6dbceb4e94015390ac4439587fb25ba99044' ;; \
s390x) natsArch='s390x'; sha256='767e2a0f06030ad8c83946e6a5a8718868b88cd5b60958d217d1fdb65024ebae' ;; \
ppc64le) natsArch='ppc64le'; sha256='2c3582f1e9ec7f43e63846d347655035017ca555b33831e13783396774f2d206' ;; \
aarch64) natsArch='arm64'; sha256='e72d25b08b6b1e591f7947186d672e21dbf82dfe51c7ee5434060c4f7c7bb708' ;; \
armhf) natsArch='arm6'; sha256='bf21da361181d2cdac3ab15ed50d0a22d8570c0598eb0ee6acf5185faa9fac2a' ;; \
armv7) natsArch='arm7'; sha256='6326f2d76fd6c9b4021439630035783ee6985f20b0746b3643851f3e2128799c' ;; \
x86_64) natsArch='amd64'; sha256='809c2cdea4498c0ab025c7f769d74bb2eaf81f0ea12f2bb7ba09a50bfe85d709' ;; \
x86) natsArch='386'; sha256='0e27016493a6cd9d6190f30bb18e7d23ca9dc978a9a1c72aa4a45a77ff0fcd30' ;; \
s390x) natsArch='s390x'; sha256='1ee6bf8739f83fb18a1372fbef65a68a2ea0932b184e6deb29e1c4dc7ac6ca7b' ;; \
ppc64le) natsArch='ppc64le'; sha256='7b8f02a38cc50d79c2efc324f8e60b1640bdb3270098b7d34e03c7b0daf5fd56' ;; \
*) 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-windowsservercore-1809 C:\\nats-server.exe C:\\nats-server.exe
COPY --from=nats:2.10.25-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-windowsservercore-1809
ARG BASE_IMAGE=nats:2.10.25-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-alpine3.21 /usr/local/bin/nats-server /nats-server
COPY --from=nats:2.10.25-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-alpine3.21
ARG BASE_IMAGE=nats:2.10.25-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'.Split(' ')[1]
$ver = 'NATS_SERVER 2.10.25-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)
ver=(NATS_SERVER 2.10.25-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".Split(" ")[1]
$ver = "NATS_SERVER 2.10.25-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)
ver=(NATS_SERVER 2.10.25-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
ENV NATS_SERVER 2.10.25-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 bf94c9a9f1685147fd95f6c62f26d16fb72dc8c8c592e2d8c9115e2491c508c3
ENV NATS_SERVER_SHASUM fd7982a63c939af542e6e6b43abe9e680832511af395cdcc188b4806fa528c0a

RUN Set-PSDebug -Trace 2

Expand Down

0 comments on commit 7eecf27

Please sign in to comment.