summaryrefslogtreecommitdiff
path: root/ci/elixir-1.14.5-otp-25
diff options
context:
space:
mode:
authormkljczk <git@mkljczk.pl>2025-02-17 17:36:02 +0100
committermkljczk <git@mkljczk.pl>2025-02-17 17:36:02 +0100
commitea01b5934f41a13f480221e554723f2b214d67e3 (patch)
tree631c5aa815ef8a133461e45437ff917149f23e0c /ci/elixir-1.14.5-otp-25
parent3e5517e7bb549d22258d2d7788ba52797648d6b7 (diff)
parenta1f4da7ae2ed5d063b3d146f223a96b9db9bb505 (diff)
downloadpleroma-ea01b5934f41a13f480221e554723f2b214d67e3.tar.gz
pleroma-ea01b5934f41a13f480221e554723f2b214d67e3.zip
Merge remote-tracking branch 'origin/develop' into post-languages
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 .