diff --git a/Dockerfile b/Dockerfile index 5095a5e3..f31de35a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ # - Ex: hexpm/elixir:1.14.5-erlang-25.3.2.2-debian-bullseye-20230522-slim # ARG ELIXIR_VERSION=1.18.1 -ARG OTP_VERSION=27.2 +ARG OTP_VERSION=25.3.2.16 ARG DEBIAN_VERSION=bookworm-20250113-slim ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}" @@ -38,9 +38,10 @@ SHELL ["/bin/bash", "-c"] # install build dependencies RUN apt-get update -y && apt-get upgrade -y && \ - apt-get install -y build-essential git curl && \ + apt-get install -y build-essential git curl ca-certificates && \ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \ apt install nodejs -y && \ + /usr/sbin/update-ca-certificates && \ npm install npm@latest -g && \ apt-get clean && rm -f /var/lib/apt/lists/*_*