1
0
mirror of https://github.com/garraflavatra/docker-volume-s3-backup.git synced 2025-07-19 08:04:04 +00:00

Add ARM64 Builds (#15)

* Add ARM64 builds

* Move to a go-cron fork with arm64 support

* Use TARGETARCH directly in the script

* Use buildkit for docker build in readme
This commit is contained in:
Sam Weston
2022-07-14 06:16:28 +01:00
committed by GitHub
parent 600617f9ba
commit 4ac3278ffb
4 changed files with 15 additions and 2 deletions

View File

@ -17,7 +17,10 @@ pip3 install awscli
# install go-cron
apk add curl
curl -L https://github.com/odise/go-cron/releases/download/v0.0.6/go-cron-linux.gz | zcat > /usr/local/bin/go-cron
curl -L https://github.com/ivoronin/go-cron/releases/download/v0.0.5/go-cron_0.0.5_linux_${TARGETARCH}.tar.gz -O
tar xvf go-cron_0.0.5_linux_${TARGETARCH}.tar.gz
rm go-cron_0.0.5_linux_${TARGETARCH}.tar.gz
mv go-cron /usr/local/bin/go-cron
chmod u+x /usr/local/bin/go-cron
apk del curl