Skip to content

Commit

Permalink
chore: Update to OTP-27.2.1 and Alpine 3.21
Browse files Browse the repository at this point in the history
  - 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
  • Loading branch information
mkonrad committed Jan 25, 2025
1 parent 31b3802 commit fb576c5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions 27/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
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

# 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 \
Expand Down
8 changes: 4 additions & 4 deletions 27/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
6 changes: 3 additions & 3 deletions 27/slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
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

# 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' \
Expand Down

0 comments on commit fb576c5

Please sign in to comment.