From 1a008ba3503a5bafbfc746da43be0fdc4673bec9 Mon Sep 17 00:00:00 2001 From: Rebecca Le Date: Tue, 3 Oct 2023 14:02:03 +0800 Subject: [PATCH] chore: Update CI/prod to use the same Elixir/Erlang versions as dev --- .github/workflows/elixir.yml | 4 ++-- Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 615e7d4..38e2777 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -15,8 +15,8 @@ jobs: strategy: fail-fast: false matrix: - otp: ["25"] - elixir: ["1.14.0"] + otp: ["26.0.2"] + elixir: ["1.15.4"] pg_version: ["13"] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Dockerfile b/Dockerfile index 86dd917..c15a5d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ -FROM hexpm/elixir:1.14.3-erlang-25.0-ubuntu-xenial-20210804 +FROM hexpm/elixir:1.15.4-erlang-26.0.2-ubuntu-bionic-20230126 # install build dependencies USER root RUN apt-get update RUN apt-get install -y wget +RUN apt-get install -y gnupg RUN wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb RUN dpkg -i erlang-solutions_2.0_all.deb RUN apt-get update @@ -15,7 +16,6 @@ RUN apt-get install -y build-essential RUN apt-get install -y esl-erlang RUN apt-get install -y apt-transport-https RUN apt-get install -y ca-certificates -RUN apt-get install -y gnupg ENV NODE_MAJOR=16 RUN mkdir -p /etc/apt/keyrings RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg