From 0c3e44e75f1e76c450e87cb46d43438f85fb0b90 Mon Sep 17 00:00:00 2001 From: Conrad Taylor Date: Wed, 9 Apr 2025 22:11:49 -0700 Subject: [PATCH 1/2] Update to Erlang 27.3.2. --- .tool-versions | 2 +- Dockerfile | 4 ++-- README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.tool-versions b/.tool-versions index c133968..09f12b1 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ elixir 1.18.3-otp-27 -erlang 27.3.1 +erlang 27.3.2 diff --git a/Dockerfile b/Dockerfile index d0a09f2..ca8f826 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,8 @@ # - Ex: hexpm/elixir:1.15.4-erlang-26.0.2-debian-bullseye-20230612-slim # ARG ELIXIR_VERSION=1.18.3 -ARG OTP_VERSION=27.3.1 -ARG DEBIAN_VERSION=bullseye-20250317-slim +ARG OTP_VERSION=27.3.2 +ARG DEBIAN_VERSION=bullseye-20250407-slim ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}" ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}" diff --git a/README.md b/README.md index c6db9d7..3539e1b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The purpose of this example is to provide details as to how one would go about u - Elixir 1.18.3 or newer -- Erlang 27.3.1 or newer +- Erlang 27.3.2 or newer - Phoenix 1.7.20 or newer From 8433c08f4efd60d4ff1a85fa1befe5e4c85ac105 Mon Sep 17 00:00:00 2001 From: Conrad Taylor Date: Wed, 9 Apr 2025 22:36:48 -0700 Subject: [PATCH 2/2] Fix legacy ENV syntax. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ca8f826..603cc35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,9 +83,9 @@ RUN apt-get update -y && apt-get install -y libstdc++6 openssl libncurses5 local # Set the locale RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 WORKDIR "/app" RUN chown nobody /app