CI script to build and publish an image for Elixir 1.14
This commit is contained in:
parent
7e303600fb
commit
1bd28e7d59
2 changed files with 2 additions and 2 deletions
8
ci/elixir-1.14.5-otp-25/Dockerfile
Normal file
8
ci/elixir-1.14.5-otp-25/Dockerfile
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
FROM elixir:1.14.5-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
|
||||
1
ci/elixir-1.14.5-otp-25/build_and_push.sh
Executable file
1
ci/elixir-1.14.5-otp-25/build_and_push.sh
Executable file
|
|
@ -0,0 +1 @@
|
|||
docker buildx build --platform linux/amd64,linux/arm64 -t git.pleroma.social:5050/pleroma/pleroma/ci-base:elixir-1.14.5-otp-25 --push .
|
||||
Loading…
Add table
Add a link
Reference in a new issue