summaryrefslogtreecommitdiff
path: root/ci/elixir-1.13.4-otp-25
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-06-09 08:37:24 -0400
committerMark Felder <feld@feld.me>2024-06-09 08:37:24 -0400
commit51eeb8082257c152f26a3abed68c009fd3d1e262 (patch)
tree5b50750df36fb701305b6e33e82d954092694165 /ci/elixir-1.13.4-otp-25
parentf000dab372993e1cbd494535b82c248d44595ab5 (diff)
parentde80a7e8906cb54b436a2f6a754b05c4eae13d79 (diff)
downloadpleroma-51eeb8082257c152f26a3abed68c009fd3d1e262.tar.gz
pleroma-51eeb8082257c152f26a3abed68c009fd3d1e262.zip
Merge remote-tracking branch 'origin/develop' into webpush-polls
Diffstat (limited to 'ci/elixir-1.13.4-otp-25')
-rw-r--r--ci/elixir-1.13.4-otp-25/Dockerfile8
-rwxr-xr-xci/elixir-1.13.4-otp-25/build_and_push.sh1
2 files changed, 9 insertions, 0 deletions
diff --git a/ci/elixir-1.13.4-otp-25/Dockerfile b/ci/elixir-1.13.4-otp-25/Dockerfile
new file mode 100644
index 000000000..25a1639e8
--- /dev/null
+++ b/ci/elixir-1.13.4-otp-25/Dockerfile
@@ -0,0 +1,8 @@
+FROM elixir:1.13.4-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.13.4-otp-25/build_and_push.sh b/ci/elixir-1.13.4-otp-25/build_and_push.sh
new file mode 100755
index 000000000..b8ca1d24d
--- /dev/null
+++ b/ci/elixir-1.13.4-otp-25/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-25 --push .