summaryrefslogtreecommitdiff
path: root/ci/elixir-1.12
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2024-01-21 12:03:29 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2024-01-21 12:03:29 +0000
commitab3f03a04a34f2e267bef649ea7d055df583e43e (patch)
tree41c555d32f0805a45f553ae348b9bf42158e9426 /ci/elixir-1.12
parenta5f64ffd0cba5e183744cf46506656ba61d36eda (diff)
parent548434f85ccaa4a77c460fb5bda37153ea6e9c39 (diff)
downloadpleroma-ab3f03a04a34f2e267bef649ea7d055df583e43e.tar.gz
pleroma-ab3f03a04a34f2e267bef649ea7d055df583e43e.zip
Merge branch 'develop' into 'public-polls'
# Conflicts: # docs/development/API/differences_in_mastoapi_responses.md
Diffstat (limited to 'ci/elixir-1.12')
-rw-r--r--ci/elixir-1.12/Dockerfile8
-rwxr-xr-xci/elixir-1.12/build_and_push.sh1
2 files changed, 9 insertions, 0 deletions
diff --git a/ci/elixir-1.12/Dockerfile b/ci/elixir-1.12/Dockerfile
new file mode 100644
index 000000000..a2b566873
--- /dev/null
+++ b/ci/elixir-1.12/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.12/build_and_push.sh b/ci/elixir-1.12/build_and_push.sh
new file mode 100755
index 000000000..508262ed8
--- /dev/null
+++ b/ci/elixir-1.12/build_and_push.sh
@@ -0,0 +1 @@
+docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t git.pleroma.social:5050/pleroma/pleroma/ci-base:elixir-1.12 --push .