Skip to content

Commit

Permalink
Merge pull request #1205 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…1203-to-release-1.23

[release-1.23] feat: upgrade to aznfs 2.0.3 version for nfs mount
  • Loading branch information
andyzhangx authored Jan 4, 2024
2 parents 332b927 + 95ebf26 commit 3146637
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/blobplugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ RUN chmod +x /blobfuse-proxy/init.sh && \
RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install ca-certificates uuid-dev util-linux mount udev wget e2fsprogs nfs-common netbase procps conntrack iptables bind9-host iproute2 bash netcat-traditional sysvinit-utils kmod

# install aznfs
ARG aznfsVer=2.0.3
RUN if [ "$ARCH" = "amd64" ] ; then \
wget -O aznfs.tar.gz https://github.com/Azure/AZNFS-mount/releases/download/2.0.1/aznfs-2.0.1-1.x86_64.tar.gz; \
wget -O aznfs.tar.gz https://github.com/Azure/AZNFS-mount/releases/download/${aznfsVer}/aznfs-${aznfsVer}-1.x86_64.tar.gz; \
else \
wget -O aznfs.tar.gz https://github.com/Azure/AZNFS-mount/releases/download/2.0.1/aznfs-2.0.1-1.arm64.tar.gz;fi
wget -O aznfs.tar.gz https://github.com/Azure/AZNFS-mount/releases/download/${aznfsVer}/aznfs-${aznfsVer}-1.arm64.tar.gz;fi
RUN tar xvzf aznfs.tar.gz -C / --keep-directory-symlink && rm aznfs.tar.gz

# install azcopy
Expand Down

0 comments on commit 3146637

Please sign in to comment.