summaryrefslogtreecommitdiff
path: root/ci/elixir-1.15-otp25
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2024-01-21 04:17:51 +0000
committerfeld <feld@feld.me>2024-01-21 04:17:51 +0000
commit931fa4cb788464dec04f7a3d9c1526fc44cebc52 (patch)
tree0db7d0bc057cdcf6d92918f70dab92ac6341ea24 /ci/elixir-1.15-otp25
parent1edfce43226923f5ace0f52b6669e96fdae13732 (diff)
parent518ddd458c1c111decf55d3ed7d00e4d3d6f65cd (diff)
downloadpleroma-931fa4cb788464dec04f7a3d9c1526fc44cebc52.tar.gz
pleroma-931fa4cb788464dec04f7a3d9c1526fc44cebc52.zip
Merge branch 'new-pipelines' into 'develop'
New CI pipelines See merge request pleroma/pleroma!4036
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..a2b566873
--- /dev/null
+++ b/ci/elixir-1.15-otp25/Dockerfile
@@ -0,0 +1,8 @@
+FROM elixir:1.12.3
+
+# 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 .