Skip to content

Commit

Permalink
Revert "fix(docker): fix installation of git-lfs in armv7 image (#2100)"
Browse files Browse the repository at this point in the history
This reverts commit 8af7883.
  • Loading branch information
chenrui333 committed Mar 3, 2022
1 parent 75bfa16 commit 45759e3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docker-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@ RUN apk add --no-cache ca-certificates curl git unzip bash openssh libcap dumb-i
cd /tmp/build && \

# git-lfs
case ${TARGETPLATFORM} in \
"linux/amd64") GIT_LFS_ARCH=amd64 ;; \
"linux/arm64") GIT_LFS_ARCH=arm64 ;; \
"linux/arm/v7") GIT_LFS_ARCH=arm ;; \
esac && \
curl -L -s --output git-lfs.tar.gz "https://github.com/git-lfs/git-lfs/releases/download/v${GIT_LFS_VERSION}/git-lfs-linux-${GIT_LFS_ARCH}-v${GIT_LFS_VERSION}.tar.gz" && \
curl -L -s --output git-lfs.tar.gz "https://github.com/git-lfs/git-lfs/releases/download/v${GIT_LFS_VERSION}/git-lfs-linux-${TARGETPLATFORM##*/}-v${GIT_LFS_VERSION}.tar.gz" && \
tar -xf git-lfs.tar.gz && \
chmod +x git-lfs && \
mv git-lfs /usr/bin/git-lfs && \
Expand Down

0 comments on commit 45759e3

Please sign in to comment.