summaryrefslogtreecommitdiff
path: root/ci/elixir-1.13
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2024-05-28 16:51:19 +0400
committerLain Soykaf <lain@lain.com>2024-05-28 16:51:19 +0400
commitcc42b50c5bbbeee066d3d26907eebb488ec6aa3d (patch)
tree3b67771624d237bdb58f0931098d6682191cc214 /ci/elixir-1.13
parentfdc3cbb8cbefad2161cc408b4440420d6e4b2a88 (diff)
parentbef15cde6141a977aebdfc998d6091a31c4fc2d6 (diff)
downloadpleroma-cc42b50c5bbbeee066d3d26907eebb488ec6aa3d.tar.gz
pleroma-cc42b50c5bbbeee066d3d26907eebb488ec6aa3d.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into pleroma-feature/akkoma-prune-old-posts
Diffstat (limited to 'ci/elixir-1.13')
-rw-r--r--ci/elixir-1.13/Dockerfile8
-rwxr-xr-xci/elixir-1.13/build_and_push.sh1
2 files changed, 9 insertions, 0 deletions
diff --git a/ci/elixir-1.13/Dockerfile b/ci/elixir-1.13/Dockerfile
new file mode 100644
index 000000000..b8bceb3d9
--- /dev/null
+++ b/ci/elixir-1.13/Dockerfile
@@ -0,0 +1,8 @@
+FROM elixir:1.13.4-otp-24
+
+# 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.13/build_and_push.sh b/ci/elixir-1.13/build_and_push.sh
new file mode 100755
index 000000000..64e1856db
--- /dev/null
+++ b/ci/elixir-1.13/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.13.4-otp-24 --push .