From 81b0d34ba55fc331012c267aed01d16da31d5eb5 Mon Sep 17 00:00:00 2001 From: ruslandoga <67764432+ruslandoga@users.noreply.github.com> Date: Mon, 21 Oct 2024 16:23:30 +0800 Subject: [PATCH] update runtime --- .github/workflows/main.yml | 4 ++-- Dockerfile | 4 ++-- mix.exs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f6c997c..1637de9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: | diff --git a/Dockerfile b/Dockerfile index 262bfca..955027a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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++ RUN mkdir /app diff --git a/mix.exs b/mix.exs index 3cbbb2f..b5d6207 100644 --- a/mix.exs +++ b/mix.exs @@ -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()