diff options
author | lain <lain@soykaf.club> | 2021-12-30 15:53:33 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2021-12-30 15:53:33 +0000 |
commit | e25af3f2d8ee5459d20b67049da8d2e99f5d72a7 (patch) | |
tree | ee8ebf2315626361b72336c8a744efb047e2e92a /ci | |
parent | 84420d9439bf2bc161507a19778da00b5d990d70 (diff) | |
parent | ac3b5037219f75c0dcec424052dab2e2e65149bd (diff) | |
download | pleroma-e25af3f2d8ee5459d20b67049da8d2e99f5d72a7.tar.gz |
Merge branch 'more-efficient-ci' into 'develop'
CI: Use own package as base
See merge request pleroma/pleroma!3577
Diffstat (limited to 'ci')
-rw-r--r-- | ci/Dockerfile | 7 | ||||
-rwxr-xr-x | ci/build_and_push.sh | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ci/Dockerfile b/ci/Dockerfile new file mode 100644 index 000000000..e6a8b438c --- /dev/null +++ b/ci/Dockerfile @@ -0,0 +1,7 @@ +FROM elixir:1.9.4 + +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/build_and_push.sh b/ci/build_and_push.sh new file mode 100755 index 000000000..484cc2643 --- /dev/null +++ b/ci/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:latest --push . |