Skip to content

Commit d58118b

Browse files
Guillaume Cauchongcauchon
authored andcommitted
Update to Elixir 1.14 (mirego#215)
1 parent ea47a49 commit d58118b

File tree

8 files changed

+1502
-1368
lines changed

8 files changed

+1502
-1368
lines changed

.tool-versions

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
erlang 25.0.3
2-
elixir 1.13.4-otp-25
3-
nodejs 16.15.1
1+
erlang 25.2.2
2+
elixir 1.14.3-otp-25
3+
nodejs 18.13.0

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -----------------------------------------------
22
# Stage: npm dependencies
33
# -----------------------------------------------
4-
FROM node:16.16-bullseye-slim AS npm-builder
4+
FROM node:18-bullseye-slim AS npm-builder
55

66
# Install Debian dependencies
77
RUN apt-get update -y && \
@@ -18,7 +18,7 @@ RUN npm ci --prefix assets
1818
# -----------------------------------------------
1919
# Stage: hex dependencies
2020
# -----------------------------------------------
21-
FROM hexpm/elixir:1.13.4-erlang-25.0.3-debian-bullseye-20210902-slim AS otp-builder
21+
FROM hexpm/elixir:1.14.3-erlang-25.2.2-debian-bullseye-20230109-slim AS otp-builder
2222

2323
# Install Debian dependencies
2424
RUN apt-get update -y && \
@@ -38,6 +38,9 @@ ENV MIX_ENV="prod"
3838
COPY mix.exs mix.lock ./
3939
RUN mix deps.get --only $MIX_ENV
4040

41+
# Install Esbuild so it is cached
42+
RUN mix esbuild.install --if-missing
43+
4144
# Copy compile-time config files before we compile dependencies
4245
# to ensure any relevant config change will trigger the dependencies
4346
# to be re-compiled.
@@ -66,7 +69,7 @@ RUN mix release
6669
# -----------------------------------------------
6770
# Stage: Bundle release in a docker image
6871
# -----------------------------------------------
69-
FROM debian:bullseye-20210902-slim
72+
FROM debian:bullseye-20221004-slim
7073

7174
RUN apt-get update -y && \
7275
apt-get install -y libstdc++6 openssl libncurses5 locales && \

0 commit comments

Comments
 (0)