diff options
author | Mark Felder <feld@feld.me> | 2024-07-01 15:58:32 +0000 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-07-01 15:58:56 +0000 |
commit | 62d9333eb0e6706c8c2c2e1919f0e119773a9e78 (patch) | |
tree | cc444a6eff8a6766e512df76ae41a88ecc7a7e91 /ci | |
parent | da05e21375d9f7bdca1b683b9ca4e2233ddb2d44 (diff) | |
download | pleroma-62d9333eb0e6706c8c2c2e1919f0e119773a9e78.tar.gz pleroma-62d9333eb0e6706c8c2c2e1919f0e119773a9e78.zip |
CI: Switch to Elixir 1.17
Diffstat (limited to 'ci')
-rw-r--r-- | ci/elixir-1.17.1-otp-26/Dockerfile | 8 | ||||
-rwxr-xr-x | ci/elixir-1.17.1-otp-26/build_and_push.sh | 1 |
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 . |