Browse Source

build(runtime): upgrade elixir to 1.14 and erlang to 24.4 (#7609)

Chris Garvis 2 years ago
parent
commit
ceb520deb6
2 changed files with 3 additions and 3 deletions
  1. 1 1
      frameworks/Elixir/phoenix/mix.exs
  2. 2 2
      frameworks/Elixir/phoenix/phoenix.dockerfile

+ 1 - 1
frameworks/Elixir/phoenix/mix.exs

@@ -5,7 +5,7 @@ defmodule Hello.Mixfile do
     [
       app: :hello,
       version: "0.1.0",
-      elixir: "~> 1.12",
+      elixir: "~> 1.14",
       elixirc_paths: elixirc_paths(Mix.env()),
       compilers: [:phoenix] ++ Mix.compilers(),
       start_permanent: Mix.env() == :prod,

+ 2 - 2
frameworks/Elixir/phoenix/phoenix.dockerfile

@@ -1,7 +1,7 @@
 ###############
 # Build stage #
 ###############
-FROM elixir:1.12.2 as build
+FROM elixir:1.14.0 as build
 
 ARG MIX_ENV="prod"
 
@@ -21,7 +21,7 @@ RUN mix release --force --path /export
 ####################
 # Deployment Stage #
 ####################
-FROM erlang:24.0.5
+FROM erlang:25.1
 
 COPY --from=build /export /opt