File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ RUN apk add --no-cache git~=2.22 bash openssh
44
55# install git-lfs
66RUN apk add --no-cache --virtual deps openssl && \
7- wget -qO- https://github.com/git-lfs/git-lfs/releases/download/v2.3.4/git-lfs-linux-amd64-2.3.4.tar.gz | tar xz && \
8- mv git-lfs-* /git-lfs /usr/bin/ && \
9- rm -rf git-lfs-* && \
7+ export ARCH=$([[ "$(uname -m)" == "aarch64" ]] && echo "arm64" || echo "amd64" ) && \
8+ wget -qO- https://github.com/ git-lfs/git-lfs/releases/download/v2.12.1/git-lfs-linux-${ARCH}-v2.12.1.tar.gz | tar xz && \
9+ mv git-lfs /usr/bin/ && \
1010 git lfs install && \
1111 apk del deps
1212
@@ -16,4 +16,4 @@ COPY ./.ssh/ /root/.ssh/
1616COPY ./start.sh /run/start.sh
1717RUN chmod +x /run/start.sh
1818
19- CMD ["/run/start.sh" ]
19+ CMD ["/run/start.sh" ]
Original file line number Diff line number Diff line change 1- version : 10.0.1
1+ version : 10.0.2
You can’t perform that action at this time.
0 commit comments