summaryrefslogtreecommitdiff
path: root/ci/elixir-1.17.1-otp-26
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2024-07-28 13:41:58 +0200
committermarcin mikołajczak <git@mkljczk.pl>2024-07-28 13:41:58 +0200
commitad8c26f6c285412be041b7dcaeefa8741d3a6e57 (patch)
tree041e9af5f9b64215f12d195d6c98b548b0c1b622 /ci/elixir-1.17.1-otp-26
parent7620b520c13a1c204810cf0cfe6a7b70b9a1c59d (diff)
parent6876761837bad399758cd6a93be5bf5cc8a81cef (diff)
downloadpleroma-ad8c26f6c285412be041b7dcaeefa8741d3a6e57.tar.gz
pleroma-ad8c26f6c285412be041b7dcaeefa8741d3a6e57.zip
Merge remote-tracking branch 'origin/develop' into post-languages
Diffstat (limited to 'ci/elixir-1.17.1-otp-26')
-rw-r--r--ci/elixir-1.17.1-otp-26/Dockerfile8
-rwxr-xr-xci/elixir-1.17.1-otp-26/build_and_push.sh1
2 files changed, 9 insertions, 0 deletions
diff --git a/ci/elixir-1.17.1-otp-26/Dockerfile b/ci/elixir-1.17.1-otp-26/Dockerfile
new file mode 100644
index 000000000..c1ee2fb30
--- /dev/null
+++ b/ci/elixir-1.17.1-otp-26/Dockerfile
@@ -0,0 +1,8 @@
+FROM elixir:1.17.1-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.17.1-otp-26/build_and_push.sh b/ci/elixir-1.17.1-otp-26/build_and_push.sh
new file mode 100755
index 000000000..2fbeaed6a
--- /dev/null
+++ b/ci/elixir-1.17.1-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.17.1-otp-26 --push .