From 838581dc4f97bfd511e255b29edc5fe2f8b243dd Mon Sep 17 00:00:00 2001 From: Michael Konrad <129560480+mkonrad@users.noreply.github.com> Date: Sun, 26 Jan 2025 00:59:54 -0500 Subject: [PATCH] chore: Update to OTP-27.2.1 and Alpine 3.21 (#493) - Update to OTP-27.2.1 - bookworm, alpine, and slim - Upated to Alpine 3.21 - OTP-27.2.1 includes GH-9211 resolving GCC14 and poll issue on Alpine 3.21 --- 27/Dockerfile | 6 +++--- 27/alpine/Dockerfile | 8 ++++---- 27/slim/Dockerfile | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/27/Dockerfile b/27/Dockerfile index 6aeed2f4..ea085a9f 100644 --- a/27/Dockerfile +++ b/27/Dockerfile @@ -1,6 +1,6 @@ FROM buildpack-deps:bookworm -ENV OTP_VERSION="27.2" \ +ENV OTP_VERSION="27.2.1" \ REBAR3_VERSION="3.24.0" LABEL org.opencontainers.image.version=$OTP_VERSION @@ -8,8 +8,8 @@ LABEL org.opencontainers.image.version=$OTP_VERSION # We'll install the build dependencies for erlang-odbc along with the erlang # build process: RUN set -xe \ - && OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \ - && OTP_DOWNLOAD_SHA256="0727cf869622544a2434a104109b31f5fadb8dc6b532287aea182fab95922ea8" \ + && OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \ + && OTP_DOWNLOAD_SHA256="07982134e10637dde57cf9cdc6dda6f65425810229986136d184766d4db9eda3" \ && runtimeDeps='libodbc1 \ libsctp1 \ libwxgtk3.2 \ diff --git a/27/alpine/Dockerfile b/27/alpine/Dockerfile index 4a498b0a..6023a18f 100644 --- a/27/alpine/Dockerfile +++ b/27/alpine/Dockerfile @@ -1,13 +1,13 @@ -FROM alpine:3.20 +FROM alpine:3.21 -ENV OTP_VERSION="27.2" \ +ENV OTP_VERSION="27.2.1" \ REBAR3_VERSION="3.24.0" LABEL org.opencontainers.image.version=$OTP_VERSION RUN set -xe \ - && OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \ - && OTP_DOWNLOAD_SHA256="0727cf869622544a2434a104109b31f5fadb8dc6b532287aea182fab95922ea8" \ + && OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \ + && OTP_DOWNLOAD_SHA256="07982134e10637dde57cf9cdc6dda6f65425810229986136d184766d4db9eda3" \ && REBAR3_DOWNLOAD_SHA256="391b0eaa2825bb427fef1e55a0d166493059175f57a33b00346b84a20398216c" \ && apk add --no-cache --virtual .fetch-deps \ curl \ diff --git a/27/slim/Dockerfile b/27/slim/Dockerfile index bc0a1810..4a5efd31 100644 --- a/27/slim/Dockerfile +++ b/27/slim/Dockerfile @@ -1,6 +1,6 @@ FROM debian:bookworm -ENV OTP_VERSION="27.2" \ +ENV OTP_VERSION="27.2.1" \ REBAR3_VERSION="3.24.0" LABEL org.opencontainers.image.version=$OTP_VERSION @@ -8,8 +8,8 @@ LABEL org.opencontainers.image.version=$OTP_VERSION # We'll install the build dependencies, and purge them on the last step to make # sure our final image contains only what we've just built: RUN set -xe \ - && OTP_DOWNLOAD_URL="https://github.com/erlang/otp/archive/OTP-${OTP_VERSION}.tar.gz" \ - && OTP_DOWNLOAD_SHA256="0727cf869622544a2434a104109b31f5fadb8dc6b532287aea182fab95922ea8" \ + && OTP_DOWNLOAD_URL="https://github.com/erlang/otp/releases/download/OTP-${OTP_VERSION}/otp_src_${OTP_VERSION}.tar.gz" \ + && OTP_DOWNLOAD_SHA256="07982134e10637dde57cf9cdc6dda6f65425810229986136d184766d4db9eda3" \ && fetchDeps=' \ curl \ ca-certificates' \