Skip to content

Commit

Permalink
Release v2.10.23-RC.11 (#203)
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Twigg <[email protected]>
  • Loading branch information
neilalexander authored Dec 6, 2024
1 parent 006614d commit 5f15519
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.23-RC.10
ENV NATS_SERVER 2.10.23-RC.11

RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
aarch64) natsArch='arm64'; sha256='7602085196c1083fc62a99cc2b790f053dd6abcbf679d9b3e814662dc6913474' ;; \
armhf) natsArch='arm6'; sha256='b233a72782970b296b70f1b65317055fc5e7304cae687f7ae855192dd651f279' ;; \
armv7) natsArch='arm7'; sha256='79b600f0c20027d963b1234f1336cac9a254841bcac5ed0269072ab94c4850c2' ;; \
x86_64) natsArch='amd64'; sha256='bafdde0fcbf9842e19f9fd4023b38cdcf4ec562235c0dedaed37d37a8e87000c' ;; \
x86) natsArch='386'; sha256='32601a2d7ef7d3cc540980efb2c598d1de8d7a1c5b4c8b9661711b0f3bd62963' ;; \
s390x) natsArch='s390x'; sha256='dc8e992031aaef29b2b9658e36e5fbc46292d181c7ba4c1ee78e45b9f232219a' ;; \
ppc64le) natsArch='ppc64le'; sha256='152778ff61191b8be54af919670587e4ac6f6afc5dffce6b921054233038cd1c' ;; \
aarch64) natsArch='arm64'; sha256='56669aa862be7bd86f3053ee91ad8a47141cd517f808dbc5ca80cf8be8b8d1d6' ;; \
armhf) natsArch='arm6'; sha256='e39c2620666d73a55bc57b62d5f97e22c514f869c538299453820da043744523' ;; \
armv7) natsArch='arm7'; sha256='448cda40241d9c57827f072d3976e16ae15c55255bd6b09e6307b0552d2f4bd9' ;; \
x86_64) natsArch='amd64'; sha256='08798ff58cc8b28cd18c08f9d9ecfeb76c6db726a016541bd7e9dce59150a07e' ;; \
x86) natsArch='386'; sha256='dd4cad2d02b0cdc1fd0ffb82d057fbef354c28d468473b5e27f4aa1df8964397' ;; \
s390x) natsArch='s390x'; sha256='b52e11aa1b2b5457272bee6752559bb3957b8b12e5a1734046dd4929ac22fe5d' ;; \
ppc64le) natsArch='ppc64le'; sha256='c27059fa3d105fd790b64712a85af555934a23a083772adaf577061da5e7c6e0' ;; \
*) 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.23-RC.10-windowsservercore-1809 C:\\nats-server.exe C:\\nats-server.exe
COPY --from=nats:2.10.23-RC.11-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.23-RC.10-windowsservercore-1809
ARG BASE_IMAGE=nats:2.10.23-RC.11-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.23-RC.10-alpine3.21 /usr/local/bin/nats-server /nats-server
COPY --from=nats:2.10.23-RC.11-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.23-RC.10-alpine3.21
ARG BASE_IMAGE=nats:2.10.23-RC.11-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.23-RC.10'.Split(' ')[1]
$ver = 'NATS_SERVER 2.10.23-RC.11'.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.23-RC.10)
ver=(NATS_SERVER 2.10.23-RC.11)

(
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.23-RC.10".Split(" ")[1]
$ver = "NATS_SERVER 2.10.23-RC.11".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.23-RC.10)
ver=(NATS_SERVER 2.10.23-RC.11)

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.23-RC.10
ENV NATS_SERVER 2.10.23-RC.11
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 67d3bc2d0019f0576b0b2bfa8850aa649c111bc32cd85f7f1a5854382b7db776
ENV NATS_SERVER_SHASUM c26a278f8949c5f1497ca53ed6ee7cb5ea32d4b5f25f390e1c3a53137ed1ee18

RUN Set-PSDebug -Trace 2

Expand Down

0 comments on commit 5f15519

Please sign in to comment.