Skip to content

Commit

Permalink
fix: nfs mount failure on arm64 node
Browse files Browse the repository at this point in the history
fix

fix
  • Loading branch information
andyzhangx authored and k8s-infra-cherrypick-robot committed Oct 9, 2024
1 parent e17d45b commit 0b0c162
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/blobplugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 0b0c162

Please sign in to comment.