Add arm64 image build capability

This commit is contained in:
Andrejs Cunskis 2022-08-21 13:05:53 +03:00
parent acce4ded1b
commit c2838c613d
No known key found for this signature in database
GPG key ID: 87CB75083F227241
14 changed files with 43 additions and 60 deletions

View file

@ -3,7 +3,7 @@
set -xeuo pipefail
IFS=$'\n\t'
LFS_DOWNLOAD_URL="https://github.com/git-lfs/git-lfs/releases/download/v${LFS_VERSION}/git-lfs-linux-$(dpkg --print-architecture)-v${LFS_VERSION}.tar.gz"
LFS_DOWNLOAD_URL="https://github.com/git-lfs/git-lfs/releases/download/v${LFS_VERSION}/git-lfs-linux-${TARGETARCH:-amd64}-v${LFS_VERSION}.tar.gz"
mkdir build \
&& curl -fsSL "$LFS_DOWNLOAD_URL" -o git-lfs.tar.gz \