From e9c85a1436dbfa6f01e40ae49598214ea6b60c50 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Thu, 20 Jun 2024 10:36:11 +0000 Subject: [PATCH] feat(runtimes): upgrade erlang/elixir Bump runtimes: * `erlang` from 24.0.1 to 26.2.5 * `elixir` from 1.14.0 to 1.16.3 Also, use the current stable `debian` release (`bookworm`). Finally, set local version for `erlang`/`elixir`, with `.tool-versions`. --- .tool-versions | 2 ++ Dockerfile | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .tool-versions diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..324f1e2 --- /dev/null +++ b/.tool-versions @@ -0,0 +1,2 @@ +erlang 26.2.5 +elixir 1.16.3-otp-26 diff --git a/Dockerfile b/Dockerfile index 3d0f106..3d241a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,8 @@ # - https://pkgs.org/ - resource for finding needed packages # - Ex: hexpm/elixir:1.12.0-erlang-24.0.1-debian-bullseye-20210902-slim # -ARG BUILDER_IMAGE="hexpm/elixir:1.14.0-erlang-24.0.1-debian-bullseye-20210902-slim" -ARG RUNNER_IMAGE="debian:bullseye-20210902-slim" +ARG BUILDER_IMAGE="hexpm/elixir:1.16.3-erlang-26.2.5-debian-bookworm-20240612-slim" +ARG RUNNER_IMAGE="debian:bookworm-20240612-slim" FROM ${BUILDER_IMAGE} as builder @@ -95,4 +95,4 @@ USER root ENV ECTO_IPV6="true" ENV ERL_AFLAGS="-proto_dist inet6_tcp" -CMD /app/bin/server \ No newline at end of file +CMD /app/bin/server