Skip to content

Commit

Permalink
update runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed Nov 10, 2024
1 parent d7a408d commit eaf28ce
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
- name: Install OTP and Elixir
uses: erlef/setup-beam@v1
with:
otp-version: 25.3.1
elixir-version: 1.14.2
otp-version: 27.1.2
elixir-version: 1.17.3

- name: Install dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM hexpm/elixir:1.14.2-erlang-25.3.1-alpine-3.17.3 as build
FROM hexpm/elixir:1.17.3-erlang-27.1.2-alpine-3.20.3 as build

# install build dependencies
RUN apk add --no-cache --update git
Expand Down Expand Up @@ -30,8 +30,8 @@ COPY rel rel
RUN mix release

# prepare release image
FROM alpine:3.17.3 AS app
RUN apk add --no-cache --update bash openssl libstdc++
FROM alpine:3.20.3 AS app
RUN apk add --no-cache --update bash openssl libgcc libstdc++ ncurses

RUN mkdir /app
WORKDIR /app
Expand Down
File renamed without changes.
5 changes: 3 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Hexdocs.MixProject do
[
app: :hexdocs,
version: "0.1.0",
elixir: "~> 1.14",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
releases: releases(),
deps: deps()
Expand Down Expand Up @@ -42,7 +42,8 @@ defmodule Hexdocs.MixProject do
defp releases() do
[
hexdocs: [
include_executables_for: [:unix]
include_executables_for: [:unix],
reboot_system_after_config: true
]
]
end
Expand Down

0 comments on commit eaf28ce

Please sign in to comment.