summaryrefslogtreecommitdiff
path: root/ci/elixir-1.14.5-otp-25
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2024-12-19 10:15:30 +0000
committerlain <lain@soykaf.club>2024-12-19 10:15:30 +0000
commit1170dfdd49d9ab0d3a1788db253e88e1bbeb67e1 (patch)
treebe0e3d2d110f78f83e7fa779d8a12f0f0f54811d /ci/elixir-1.14.5-otp-25
parent31487e5be48f3845d9cf57116dd5a618a733e259 (diff)
parentc0fdd0e2cf2e57aa02776c41d21b10c17f745193 (diff)
downloadpleroma-1170dfdd49d9ab0d3a1788db253e88e1bbeb67e1.tar.gz
pleroma-1170dfdd49d9ab0d3a1788db253e88e1bbeb67e1.zip
Merge branch 'release/2.8.0' into 'stable'
Release/2.8.0 See merge request pleroma/pleroma!4295
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 .