Update to Alpine 3.22

This commit is contained in:
Tianon Gravi 2025-05-30 14:14:13 -07:00
parent 85ffaf0cfe
commit e04938d64c
5 changed files with 12 additions and 12 deletions

View File

@ -5,7 +5,7 @@
#
# Alpine Linux is not officially supported by the RabbitMQ team -- use at your own risk!
FROM alpine:3.21 as build-base
FROM alpine:3.22 as build-base
RUN apk add --no-cache \
build-base \
@ -193,7 +193,7 @@ ENV PATH $ERLANG_INSTALL_PATH_PREFIX/bin:$PATH
RUN find $ERLANG_INSTALL_PATH_PREFIX -type f -name 'crypto.so' -exec ldd {} \; | awk '/libcrypto\.so/ { if (!index($3,ENVIRON["OPENSSL_INSTALL_PATH_PREFIX"])) exit 1 }'
RUN erl -noshell -eval 'ok = crypto:start(), ok = io:format("~p~n~n~p~n~n", [crypto:supports(), ssl:versions()]), init:stop().'
FROM alpine:3.21
FROM alpine:3.22
# OPENSSL/ERLANG_INSTALL_PATH_PREFIX are defined in a different stage, so define them again
ENV ERLANG_INSTALL_PATH_PREFIX /opt/erlang

4
4.0/alpine/Dockerfile generated
View File

@ -5,7 +5,7 @@
#
# Alpine Linux is not officially supported by the RabbitMQ team -- use at your own risk!
FROM alpine:3.21 as build-base
FROM alpine:3.22 as build-base
RUN apk add --no-cache \
build-base \
@ -193,7 +193,7 @@ ENV PATH $ERLANG_INSTALL_PATH_PREFIX/bin:$PATH
RUN find $ERLANG_INSTALL_PATH_PREFIX -type f -name 'crypto.so' -exec ldd {} \; | awk '/libcrypto\.so/ { if (!index($3,ENVIRON["OPENSSL_INSTALL_PATH_PREFIX"])) exit 1 }'
RUN erl -noshell -eval 'ok = crypto:start(), ok = io:format("~p~n~n~p~n~n", [crypto:supports(), ssl:versions()]), init:stop().'
FROM alpine:3.21
FROM alpine:3.22
# OPENSSL/ERLANG_INSTALL_PATH_PREFIX are defined in a different stage, so define them again
ENV ERLANG_INSTALL_PATH_PREFIX /opt/erlang

4
4.1/alpine/Dockerfile generated
View File

@ -5,7 +5,7 @@
#
# Alpine Linux is not officially supported by the RabbitMQ team -- use at your own risk!
FROM alpine:3.21 as build-base
FROM alpine:3.22 as build-base
RUN apk add --no-cache \
build-base \
@ -193,7 +193,7 @@ ENV PATH $ERLANG_INSTALL_PATH_PREFIX/bin:$PATH
RUN find $ERLANG_INSTALL_PATH_PREFIX -type f -name 'crypto.so' -exec ldd {} \; | awk '/libcrypto\.so/ { if (!index($3,ENVIRON["OPENSSL_INSTALL_PATH_PREFIX"])) exit 1 }'
RUN erl -noshell -eval 'ok = crypto:start(), ok = io:format("~p~n~n~p~n~n", [crypto:supports(), ssl:versions()]), init:stop().'
FROM alpine:3.21
FROM alpine:3.22
# OPENSSL/ERLANG_INSTALL_PATH_PREFIX are defined in a different stage, so define them again
ENV ERLANG_INSTALL_PATH_PREFIX /opt/erlang

View File

@ -1,7 +1,7 @@
{
"3.13": {
"alpine": {
"version": "3.21"
"version": "3.22"
},
"openssl": {
"sha256": "d319da6aecde3aa6f426b44bbf997406d95275c5c59ab6f6ef53caaa079f456f",
@ -19,7 +19,7 @@
"3.13-rc": null,
"4.0": {
"alpine": {
"version": "3.21"
"version": "3.22"
},
"openssl": {
"sha256": "712590fd20aaa60ec75d778fe5b810d6b829ca7fb1e530577917a131f9105539",
@ -37,7 +37,7 @@
"4.0-rc": null,
"4.1": {
"alpine": {
"version": "3.21"
"version": "3.22"
},
"openssl": {
"sha256": "712590fd20aaa60ec75d778fe5b810d6b829ca7fb1e530577917a131f9105539",

View File

@ -2,9 +2,9 @@
set -Eeuo pipefail
declare -A alpineVersions=(
[3.13]='3.21'
[4.0]='3.21'
[4.1]='3.21'
[3.13]='3.22'
[4.0]='3.22'
[4.1]='3.22'
)
declare -A ubuntuVersions=(