Skip to content

Commit

Permalink
chore: update to elixir 1.17 and otp 27
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaAK committed Dec 4, 2024
1 parent 5e864cb commit 18f3b3e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion elixir-debian-terraform-ansible.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mikaak/elixir-node:1.13-otp-25-debian
FROM mikaak/elixir-node:1.17-otp-27-debian

ENV OTP_VERSION="25.0" \
REBAR_VERSION="2.6.4" \
Expand Down
12 changes: 6 additions & 6 deletions elixir-debian.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM buildpack-deps:bullseye

ENV OTP_VERSION="25.0.4" \
ENV OTP_VERSION="27.1.2" \
MIX_ENV="PROD" \
RUNTIME_DEPS="libodbc1 libsctp1 libwxgtk3.0" \
BUILD_DEPS="unixodbc-dev libsctp-dev" \
OTP_DOWNLOAD_SHA256="05878cb51a64b33c86836b12a21903075c300409b609ad5e941ddb0feb8c2120"
OTP_DOWNLOAD_SHA256="365208d47f9590f27c0814ccd7ee7aec0e1b6ba2fe9d875e356edb5d9b054541"

LABEL org.opencontainers.image.version=$OTP_VERSION

Expand Down Expand Up @@ -52,8 +52,8 @@ RUN set -xe \
&& install -v ./rebar /usr/local/bin/ \
&& rm -rf /usr/src/rebar-src

ENV REBAR3_VERSION="3.19.0" \
REBAR3_DOWNLOAD_SHA256="ff9ef42c737480477ebdf0dd9d95ece534a14c96f05edafbf32e9af973280bc3"
ENV REBAR3_VERSION="3.24.0" \
REBAR3_DOWNLOAD_SHA256="391b0eaa2825bb427fef1e55a0d166493059175f57a33b00346b84a20398216c"

RUN set -xe \
&& REBAR3_DOWNLOAD_URL="https://github.com/erlang/rebar3/archive/${REBAR3_VERSION}.tar.gz" \
Expand All @@ -67,8 +67,8 @@ RUN set -xe \
&& install -v ./rebar3 /usr/local/bin/ \
&& rm -rf /usr/src/rebar3-src

ENV ELIXIR_DOWNLOAD_SHA256="95daf2dd3052e6ca7d4d849457eaaba09de52d65ca38d6933c65bc1cdf6b8579" \
ELIXIR_VERSION="v1.13.4" \
ENV ELIXIR_DOWNLOAD_SHA256="6116c14d5e61ec301240cebeacbf9e97125a4d45cd9071e65e0b958d5ebf3890" \
ELIXIR_VERSION="v1.17.3" \
LANG="C.UTF-8"

RUN set -xe \
Expand Down
15 changes: 15 additions & 0 deletions node-elixir-debian.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM mikaak/elixir:1.17-otp-27-debian

WORKDIR /home

ENV \
PORT=4000 \
REPLACE_OS_VARS=true \
MIX_ENV=prod

RUN apt-get update -qq && \
apt-get upgrade -y && \
apt-get install nodejs npm -y && \
rm -rf /var/lib/apt/lists/* && \
mix local.hex --force && \
mix local.rebar --force

0 comments on commit 18f3b3e

Please sign in to comment.