Skip to content

Commit ca94472

Browse files
authored
Merge pull request #1622 from andyzhangx/fix-nfs-arm64
fix: nfs mount failure on arm64 node
2 parents 7c5d331 + aa8c336 commit ca94472

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/blobplugin/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ RUN apt update \
2525

2626
# install aznfs
2727
ARG aznfsVer=2.0.7
28-
ARG anzfsArch=x86_64
2928
RUN if [ "$ARCH" = "arm64" ]; then \
30-
anzfsArch="arm64"; \
29+
curl -Ls https://github.com/Azure/AZNFS-mount/releases/download/${aznfsVer}/aznfs-${aznfsVer}-1.arm64.tar.gz | tar xvzf - -C / --keep-directory-symlink; \
30+
else \
31+
curl -Ls https://github.com/Azure/AZNFS-mount/releases/download/${aznfsVer}/aznfs-${aznfsVer}-1.x86_64.tar.gz | tar xvzf - -C / --keep-directory-symlink; \
3132
fi
32-
RUN curl -Ls https://github.com/Azure/AZNFS-mount/releases/download/${aznfsVer}/aznfs-${aznfsVer}-1.${anzfsArch}.tar.gz | tar xvzf - -C / --keep-directory-symlink
3333

3434
# install azcopy
3535
RUN curl -Ls https://azcopyvnext.azureedge.net/releases/release-10.26.0-20240731/azcopy_linux_${ARCH}_10.26.0.tar.gz \

0 commit comments

Comments
 (0)