summaryrefslogtreecommitdiff
path: root/ci/elixir-1.15-otp25
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2024-03-07 13:13:49 +0100
committermarcin mikołajczak <git@mkljczk.pl>2024-03-07 13:13:49 +0100
commitb7c625db0f8090ce11c75a19fbaee8f985b966c3 (patch)
tree0d631e593dd195014fc35d7203f82f331b35aff0 /ci/elixir-1.15-otp25
parent47ce33a90d09878d5231ce9654853ebcd1b88c08 (diff)
parent8298b326a7a3081be262c73f734dfe3082962e83 (diff)
downloadpleroma-b7c625db0f8090ce11c75a19fbaee8f985b966c3.tar.gz
pleroma-b7c625db0f8090ce11c75a19fbaee8f985b966c3.zip
Merge remote-tracking branch 'origin/develop' into link-verification
Diffstat (limited to 'ci/elixir-1.15-otp25')
-rw-r--r--ci/elixir-1.15-otp25/Dockerfile8
-rwxr-xr-xci/elixir-1.15-otp25/build_and_push.sh1
2 files changed, 9 insertions, 0 deletions
diff --git a/ci/elixir-1.15-otp25/Dockerfile b/ci/elixir-1.15-otp25/Dockerfile
new file mode 100644
index 000000000..3335c6e36
--- /dev/null
+++ b/ci/elixir-1.15-otp25/Dockerfile
@@ -0,0 +1,8 @@
+FROM elixir:1.15.7-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.15-otp25/build_and_push.sh b/ci/elixir-1.15-otp25/build_and_push.sh
new file mode 100755
index 000000000..06fe74f34
--- /dev/null
+++ b/ci/elixir-1.15-otp25/build_and_push.sh
@@ -0,0 +1 @@
+docker buildx build --platform linux/amd64 -t git.pleroma.social:5050/pleroma/pleroma/ci-base:elixir-1.15-otp25 --push .