-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
Describe the issue
I can't install recent git-lfs via package on arm64
(I assume same for s390x and ppc would be good to get those sorted too)
System environment
The version of your operating system, plus any relevant information about platform or configuration (e.g., container or CI usage, Cygwin, WSL, or non-Basic authentication). If relevant, include the output of git config -l as a code block.
macOs big sur 11.4
M1 mac
arm64
Output of git lfs env
The output of running git lfs env as a code block.
not relevant
Additional context
I've tested on the debian:buster-slim and centos:8.3.2011 images and cannot find the corresponding package.
docker run -it debian:buster-slim bash
apt install -y curl
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
apt-cache showpkg git-lfs
If I run on an amd64 machine all works fine
Work around for docker:
ARG TARGETARCH
ARG GIT_LFS_VERSION=2.13.3
# required for multi-arch support, revert to package cloud after:
# https://github.com/git-lfs/git-lfs/issues/4546
RUN GIT_LFS_ARCHIVE="git-lfs-linux-${TARGETARCH}-v${GIT_LFS_VERSION}.tar.gz" \
GIT_LFS_RELEASE_URL="https://github.com/git-lfs/git-lfs/releases/download/v${GIT_LFS_VERSION}/${GIT_LFS_ARCHIVE}"\
set -x; curl --quiet --fail --location --show-error --output "/tmp/${GIT_LFS_ARCHIVE}" "${GIT_LFS_RELEASE_URL}" && \
mkdir -p /tmp/git-lfs && \
tar xzvf "/tmp/${GIT_LFS_ARCHIVE}" -C /tmp/git-lfs && \
bash -x /tmp/git-lfs/install.sh && \
rm -rf /tmp/git-lfs*Reactions are currently unavailable