Skip to content

Commit

Permalink
Update to Elixir 1.18 (#136)
Browse files Browse the repository at this point in the history
* update version

* bookworm and otp 27.2

* use 1.18.1
  • Loading branch information
jiegillet authored Jan 6, 2025
1 parent 79e7617 commit baeec1c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-22.04

container:
image: hexpm/elixir:1.17.0-erlang-27.0-debian-bookworm-20240612
image: hexpm/elixir:1.18.1-erlang-27.2-debian-bookworm-20241223

steps:
- name: Install git & jq
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.17.0-otp-27
erlang 27.0
elixir 1.18.1-otp-27
erlang 27.2
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM hexpm/elixir:1.17.0-erlang-27.0-debian-bookworm-20240612 AS builder
FROM hexpm/elixir:1.18.1-erlang-27.2-debian-bookworm-20241223 AS builder

# Install SSL ca certificates
RUN apt-get update && \
Expand All @@ -14,7 +14,7 @@ COPY . .
# Builds an escript bin/elixir_representer
RUN ./bin/build.sh

FROM hexpm/elixir:1.17.0-erlang-27.0-debian-bookworm-20240612
FROM hexpm/elixir:1.18.1-erlang-27.2-debian-bookworm-20241223
COPY --from=builder /etc/passwd /etc/passwd
COPY --from=builder /elixir-representer/bin /opt/representer/bin
RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Representer.MixProject do
[
app: :representer,
version: "0.1.0",
elixir: "~> 1.17",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
escript: escript()
Expand Down

0 comments on commit baeec1c

Please sign in to comment.