From 563bbaedf8c24e0da13d13a5977282c6d3bb7c0b Mon Sep 17 00:00:00 2001 From: shibao Date: Sun, 26 Feb 2023 00:33:54 -0500 Subject: [PATCH] use elixir 1.14 --- Dockerfile | 4 ++-- mix.exs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 80d8b66..e38af29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM elixir:1.13-alpine AS build +FROM elixir:1.14.1-alpine AS build # install build dependencies RUN apk add --no-cache build-base npm git python3 @@ -37,7 +37,7 @@ RUN mix do compile, release FROM alpine:latest AS app RUN apk upgrade --no-cache && \ - apk add --no-cache bash openssl libgcc libstdc++ ncurses-libs + apk add --no-cache bash openssl libssl1.1 libcrypto1.1 libgcc libstdc++ ncurses-libs WORKDIR /app diff --git a/mix.exs b/mix.exs index fdc10dd..7177147 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule Lokal.MixProject do [ app: :lokal, version: "0.1.0", - elixir: "~> 1.14", + elixir: "1.14.1", elixirc_paths: elixirc_paths(Mix.env()), compilers: Mix.compilers(), start_permanent: Mix.env() == :prod,