Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update runtime #45

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.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,7 +30,7 @@ COPY rel rel
RUN mix release

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also install ca-certificates (for the new public_key.cacerts_get) and ncurses (I never learned why it is needed in Erlang, but I think my apps fail to start when it's missing)?


RUN mkdir /app
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 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