From c9c53b40ec2be0642965e90fbcc63a2eb111b627 Mon Sep 17 00:00:00 2001 From: Mike Cifelli Date: Mon, 18 Mar 2024 13:32:20 -0400 Subject: [PATCH] Use an arm64 compatible otp version --- .gitignore | 2 ++ .tool-versions | 4 ++-- Dockerfile | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 386658f..513eab2 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,5 @@ chronoscope-*.tar npm-debug.log /assets/node_modules/ +# IDE files +.elixir_ls diff --git a/.tool-versions b/.tool-versions index 3adcaef..ef26c8a 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -elixir 1.16.2-otp-26 -erlang 26.2.3 +elixir 1.16.2-otp-25 +erlang 25.3.2.10 diff --git a/Dockerfile b/Dockerfile index 54a8384..177baa3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,11 +12,11 @@ # - Ex: hexpm/elixir:1.16.2-erlang-26.2.3-debian-bookworm-20240130-slim # ARG ELIXIR_VERSION=1.16.2 -ARG OTP_VERSION=26.2.3 +ARG OTP_VERSION=25.3.2.10 ARG DEBIAN_VERSION=bookworm-20240130-slim -ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}" -ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}" +ARG BUILDER_IMAGE="docker.io/hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}" +ARG RUNNER_IMAGE="docker.io/library/debian:${DEBIAN_VERSION}" FROM ${BUILDER_IMAGE} as builder