From 84319dbca4946cf51d51797252a96ab2a2385efb Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Thu, 6 Jun 2024 20:37:26 +0000 Subject: OTP updates Update to otp25 for Elixir 1.13; otp26 for Elixir 1.15 --- ci/elixir-1.13.4-otp-25/Dockerfile | 8 ++++++++ ci/elixir-1.13.4-otp-25/build_and_push.sh | 1 + 2 files changed, 9 insertions(+) create mode 100644 ci/elixir-1.13.4-otp-25/Dockerfile create mode 100755 ci/elixir-1.13.4-otp-25/build_and_push.sh (limited to 'ci/elixir-1.13.4-otp-25') diff --git a/ci/elixir-1.13.4-otp-25/Dockerfile b/ci/elixir-1.13.4-otp-25/Dockerfile new file mode 100644 index 000000000..25a1639e8 --- /dev/null +++ b/ci/elixir-1.13.4-otp-25/Dockerfile @@ -0,0 +1,8 @@ +FROM elixir:1.13.4-otp-25 + +# Single RUN statement, otherwise intermediate images are created +# https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run +RUN apt-get update &&\ + apt-get install -y libmagic-dev cmake libimage-exiftool-perl ffmpeg &&\ + mix local.hex --force &&\ + mix local.rebar --force diff --git a/ci/elixir-1.13.4-otp-25/build_and_push.sh b/ci/elixir-1.13.4-otp-25/build_and_push.sh new file mode 100755 index 000000000..b8ca1d24d --- /dev/null +++ b/ci/elixir-1.13.4-otp-25/build_and_push.sh @@ -0,0 +1 @@ +docker buildx build --platform linux/amd64,linux/arm64 -t git.pleroma.social:5050/pleroma/pleroma/ci-base:elixir-1.13.4-otp-25 --push . -- cgit v1.2.3