Skip to content

Commit

Permalink
Upgrade elixir
Browse files Browse the repository at this point in the history
  • Loading branch information
nwjlyons committed Mar 25, 2024
1 parent 60672bc commit 3f169ac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.15.7'
otp-version: '26.1.2'
elixir-version: '1.16.2'
otp-version: '26.2.1'
- name: Restore dependencies cache
uses: actions/cache@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
elixir 1.15.7
erlang 26.1.2
elixir 1.16.2
erlang 26.2.1
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
###
### Fist Stage - Building the Release
###
FROM hexpm/elixir:1.15.7-erlang-26.1.2-alpine-3.17.5 AS build
# https://hub.docker.com/r/hexpm/elixir/tags
FROM hexpm/elixir:1.16.2-erlang-26.2.1-alpine-3.19.1 AS build

# install build dependencies
RUN apk add --no-cache build-base npm git
Expand Down Expand Up @@ -58,7 +59,7 @@ RUN mix do compile, release
###

# prepare release docker image
FROM hexpm/elixir:1.15.7-erlang-26.1.2-alpine-3.17.5 AS app
FROM hexpm/elixir:1.16.2-erlang-26.2.1-alpine-3.19.1 AS app
RUN apk add --no-cache libstdc++ openssl ncurses-libs

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule RobotRaceWeb.MixProject do
[
app: :robot_race_web,
version: "0.1.0",
elixir: "~> 1.15",
elixir: "~> 1.16",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down

0 comments on commit 3f169ac

Please sign in to comment.