From 0b0c1623d2f295bce6a245240055b08279173156 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Tue, 8 Oct 2024 14:21:49 +0000 Subject: [PATCH] fix: nfs mount failure on arm64 node fix fix --- pkg/blobplugin/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/blobplugin/Dockerfile b/pkg/blobplugin/Dockerfile index 485ecd3c4..f4bc915cd 100644 --- a/pkg/blobplugin/Dockerfile +++ b/pkg/blobplugin/Dockerfile @@ -25,11 +25,11 @@ RUN apt update \ # install aznfs ARG aznfsVer=2.0.7 -ARG anzfsArch=x86_64 RUN if [ "$ARCH" = "arm64" ]; then \ - anzfsArch="arm64"; \ + curl -Ls https://github.com/Azure/AZNFS-mount/releases/download/${aznfsVer}/aznfs-${aznfsVer}-1.arm64.tar.gz | tar xvzf - -C / --keep-directory-symlink; \ + else \ + curl -Ls https://github.com/Azure/AZNFS-mount/releases/download/${aznfsVer}/aznfs-${aznfsVer}-1.x86_64.tar.gz | tar xvzf - -C / --keep-directory-symlink; \ fi -RUN curl -Ls https://github.com/Azure/AZNFS-mount/releases/download/${aznfsVer}/aznfs-${aznfsVer}-1.${anzfsArch}.tar.gz | tar xvzf - -C / --keep-directory-symlink # install azcopy RUN curl -Ls https://azcopyvnext.azureedge.net/releases/release-10.26.0-20240731/azcopy_linux_${ARCH}_10.26.0.tar.gz \