summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2024-05-28 12:31:12 +0400
committerLain Soykaf <lain@lain.com>2024-05-28 12:31:12 +0400
commit3b4be5daa2c24d674665d6bc490e5d8f0878dd6e (patch)
treeeca0c6d7754dd4c824f32cb262fe2d815400bcec /ci
parent6e51845d44cd0cee89d9ad17faee4754435d582e (diff)
parent25903a4996d12306d454be960a0a7478541b1879 (diff)
downloadpleroma-3b4be5daa2c24d674665d6bc490e5d8f0878dd6e.tar.gz
pleroma-3b4be5daa2c24d674665d6bc490e5d8f0878dd6e.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into pleroma-secure-mode
Diffstat (limited to 'ci')
-rwxr-xr-xci/build_and_push.sh1
-rw-r--r--ci/elixir-1.12/Dockerfile (renamed from ci/Dockerfile)2
-rwxr-xr-xci/elixir-1.12/build_and_push.sh1
-rw-r--r--ci/elixir-1.13/Dockerfile8
-rwxr-xr-xci/elixir-1.13/build_and_push.sh1
-rw-r--r--ci/elixir-1.15-otp25/Dockerfile8
-rwxr-xr-xci/elixir-1.15-otp25/build_and_push.sh1
-rw-r--r--ci/postgres-with-rum-13/Dockerfile3
-rwxr-xr-xci/postgres-with-rum-13/build_and_push.sh1
9 files changed, 24 insertions, 2 deletions
diff --git a/ci/build_and_push.sh b/ci/build_and_push.sh
deleted file mode 100755
index 484cc2643..000000000
--- a/ci/build_and_push.sh
+++ /dev/null
@@ -1 +0,0 @@
-docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t git.pleroma.social:5050/pleroma/pleroma/ci-base:latest --push .
diff --git a/ci/Dockerfile b/ci/elixir-1.12/Dockerfile
index ca28b7029..a2b566873 100644
--- a/ci/Dockerfile
+++ b/ci/elixir-1.12/Dockerfile
@@ -1,4 +1,4 @@
-FROM elixir:1.11.4
+FROM elixir:1.12.3
# Single RUN statement, otherwise intermediate images are created
# https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run
diff --git a/ci/elixir-1.12/build_and_push.sh b/ci/elixir-1.12/build_and_push.sh
new file mode 100755
index 000000000..508262ed8
--- /dev/null
+++ b/ci/elixir-1.12/build_and_push.sh
@@ -0,0 +1 @@
+docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t git.pleroma.social:5050/pleroma/pleroma/ci-base:elixir-1.12 --push .
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 .
diff --git a/ci/elixir-1.15-otp25/Dockerfile b/ci/elixir-1.15-otp25/Dockerfile
new file mode 100644
index 000000000..3335c6e36
--- /dev/null
+++ b/ci/elixir-1.15-otp25/Dockerfile
@@ -0,0 +1,8 @@
+FROM elixir:1.15.7-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.15-otp25/build_and_push.sh b/ci/elixir-1.15-otp25/build_and_push.sh
new file mode 100755
index 000000000..a28e0d33c
--- /dev/null
+++ b/ci/elixir-1.15-otp25/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.15-otp25 --push .
diff --git a/ci/postgres-with-rum-13/Dockerfile b/ci/postgres-with-rum-13/Dockerfile
new file mode 100644
index 000000000..dc727df1d
--- /dev/null
+++ b/ci/postgres-with-rum-13/Dockerfile
@@ -0,0 +1,3 @@
+FROM postgres:13-bullseye
+
+RUN apt-get update && apt-get install -y postgresql-13-rum/bullseye-pgdg
diff --git a/ci/postgres-with-rum-13/build_and_push.sh b/ci/postgres-with-rum-13/build_and_push.sh
new file mode 100755
index 000000000..c437b64a7
--- /dev/null
+++ b/ci/postgres-with-rum-13/build_and_push.sh
@@ -0,0 +1 @@
+docker buildx build --platform linux/amd64,linux/arm64 -t git.pleroma.social:5050/pleroma/pleroma/postgres-with-rum-13:latest --push .