summaryrefslogtreecommitdiff
path: root/ci/elixir-1.13.4-otp-25
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2024-06-09 08:40:52 +0000
committerlain <lain@soykaf.club>2024-06-09 08:40:52 +0000
commitde80a7e8906cb54b436a2f6a754b05c4eae13d79 (patch)
treefb056f44f645897bb6e036c25e9b9cd6e8eb1b03 /ci/elixir-1.13.4-otp-25
parent9d67827619e7f770d7dd6cea98ad33f5cfa33991 (diff)
parent0641a1058a4fa5a7d12c6b8ae041036a3fbeccf5 (diff)
downloadpleroma-de80a7e8906cb54b436a2f6a754b05c4eae13d79.tar.gz
pleroma-de80a7e8906cb54b436a2f6a754b05c4eae13d79.zip
Merge branch 'otp-bumps' into 'develop'
OTP version bumps See merge request pleroma/pleroma!4143
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 .