summaryrefslogtreecommitdiff
path: root/ci/elixir-1.16.3-otp-26
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2024-06-28 13:20:46 +0000
committerfeld <feld@feld.me>2024-06-28 13:20:46 +0000
commit394cb1e0f51de5ded6837dd882f0633f9791c11b (patch)
tree3a8a9c4b4819ffaa863333a5d67e1a5761113fbb /ci/elixir-1.16.3-otp-26
parent9953b0da59924f936ecc646b22cd3e3a58493d6a (diff)
parent01ed270dbac3945b5558f96d83b46faa642912a7 (diff)
downloadpleroma-394cb1e0f51de5ded6837dd882f0633f9791c11b.tar.gz
pleroma-394cb1e0f51de5ded6837dd882f0633f9791c11b.zip
Merge branch 'ci/elixir-1.16' into 'develop'
Ci/elixir 1.16 See merge request pleroma/pleroma!4162
Diffstat (limited to 'ci/elixir-1.16.3-otp-26')
-rw-r--r--ci/elixir-1.16.3-otp-26/Dockerfile8
-rwxr-xr-xci/elixir-1.16.3-otp-26/build_and_push.sh1
2 files changed, 9 insertions, 0 deletions
diff --git a/ci/elixir-1.16.3-otp-26/Dockerfile b/ci/elixir-1.16.3-otp-26/Dockerfile
new file mode 100644
index 000000000..dce5ac636
--- /dev/null
+++ b/ci/elixir-1.16.3-otp-26/Dockerfile
@@ -0,0 +1,8 @@
+FROM elixir:1.16.3-otp-26
+
+# 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.16.3-otp-26/build_and_push.sh b/ci/elixir-1.16.3-otp-26/build_and_push.sh
new file mode 100755
index 000000000..b93376c79
--- /dev/null
+++ b/ci/elixir-1.16.3-otp-26/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.16.3-otp-26 --push .