summaryrefslogtreecommitdiff
path: root/ci/elixir-1.14.5-otp-25
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-09-19 16:23:38 -0400
committerMark Felder <feld@feld.me>2024-09-19 16:23:38 -0400
commitd6a364dad45673158ae4f9263f19f39edd59deba (patch)
treefdd19159176aa76553c4302b61c21f90978397cd /ci/elixir-1.14.5-otp-25
parentecd1b8393befe91175872af3db67a5c01f10eaf2 (diff)
parent7c37fc6a71100fab4849df5537abfc4306a4f0f9 (diff)
downloadpleroma-d6a364dad45673158ae4f9263f19f39edd59deba.tar.gz
pleroma-d6a364dad45673158ae4f9263f19f39edd59deba.zip
Merge remote-tracking branch 'origin/develop' into oban-bump
Diffstat (limited to 'ci/elixir-1.14.5-otp-25')
-rw-r--r--ci/elixir-1.14.5-otp-25/Dockerfile8
-rwxr-xr-xci/elixir-1.14.5-otp-25/build_and_push.sh1
2 files changed, 9 insertions, 0 deletions
diff --git a/ci/elixir-1.14.5-otp-25/Dockerfile b/ci/elixir-1.14.5-otp-25/Dockerfile
new file mode 100644
index 000000000..3a35c84c3
--- /dev/null
+++ b/ci/elixir-1.14.5-otp-25/Dockerfile
@@ -0,0 +1,8 @@
+FROM elixir:1.14.5-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.14.5-otp-25/build_and_push.sh b/ci/elixir-1.14.5-otp-25/build_and_push.sh
new file mode 100755
index 000000000..912c47d0c
--- /dev/null
+++ b/ci/elixir-1.14.5-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.14.5-otp-25 --push .