Skip to content

Commit

Permalink
Release v2.10.23-RC.10
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Twigg <[email protected]>
  • Loading branch information
neilalexander committed Dec 3, 2024
1 parent aabeba8 commit 2cf6805
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.20/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM alpine:3.20

ENV NATS_SERVER 2.10.23-RC.8
ENV NATS_SERVER 2.10.23-RC.10

RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
aarch64) natsArch='arm64'; sha256='72cad4f240319e0f0b5194191cdfcd81682d69eca31075ea08b86c7505528b23' ;; \
armhf) natsArch='arm6'; sha256='9a38bca524ad15e8f328aeb51fde99afe8999140ab0c8ced31274d5b9e03e97d' ;; \
armv7) natsArch='arm7'; sha256='4c595c281b28dfb21a1b4035da99c0e3e34e094b0f1254ef27c20e8152466571' ;; \
x86_64) natsArch='amd64'; sha256='4a32e09b41ba972b57d6faf9b8f265366fa0f7870660cf54f69ab3b5446be509' ;; \
x86) natsArch='386'; sha256='a0f7fa2050ced70d5bffb0510add68bdb7568850add24bbc2f08fe548cf620b1' ;; \
s390x) natsArch='s390x'; sha256='1b6ed4ad1291cd924d60c5d7222faadf855a87be2c3d4737362760c75d51f9b7' ;; \
ppc64le) natsArch='ppc64le'; sha256='0eebd8891fe97219cf03e3bb97bbed102fae5181bcd6f4078eb11d3c7e1156a8' ;; \
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' ;; \
*) 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.8-windowsservercore-1809 C:\\nats-server.exe C:\\nats-server.exe
COPY --from=nats:2.10.23-RC.10-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.8-windowsservercore-1809
ARG BASE_IMAGE=nats:2.10.23-RC.10-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.8-alpine3.20 /usr/local/bin/nats-server /nats-server
COPY --from=nats:2.10.23-RC.10-alpine3.20 /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.8-alpine3.20
ARG BASE_IMAGE=nats:2.10.23-RC.10-alpine3.20
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.8'.Split(' ')[1]
$ver = 'NATS_SERVER 2.10.23-RC.10'.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.8)
ver=(NATS_SERVER 2.10.23-RC.10)

(
cd "../alpine3.20"
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.8".Split(" ")[1]
$ver = "NATS_SERVER 2.10.23-RC.10".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.8)
ver=(NATS_SERVER 2.10.23-RC.10)

images=(
"nats:${ver[1]}-alpine3.20"
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.8
ENV NATS_SERVER 2.10.23-RC.10
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 5fff51dd16051641589106021b65a94c0e9204a9eb23d01d746981623cc83944
ENV NATS_SERVER_SHASUM 67d3bc2d0019f0576b0b2bfa8850aa649c111bc32cd85f7f1a5854382b7db776

RUN Set-PSDebug -Trace 2

Expand Down

0 comments on commit 2cf6805

Please sign in to comment.