Skip to content

Commit dd99c89

Browse files
authored
Merge pull request #1973 from andyzhangx/refine-Dockerfile
cleanup: refine Dockerfile
2 parents f6e6df4 + 23c32f7 commit dd99c89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/blobplugin/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ RUN apt update \
2525

2626
# install aznfs
2727
ARG aznfsVer=2.0.11
28+
ARG aznfsTarPkgName=aznfs-${aznfsVer}-1.x86_64
2829
RUN if [ "$ARCH" = "arm64" ]; then \
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; \
30+
aznfsTarPkgName=aznfs-${aznfsVer}-1.arm64; \
3231
fi
32+
RUN curl -Ls https://github.com/Azure/AZNFS-mount/releases/download/${aznfsVer}/${aznfsTarPkgName}.tar.gz | tar xvzf - -C / --keep-directory-symlink;
3333

3434
# install azcopy
3535
RUN curl -Ls https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/releases/release-10.28.1-20250326/azcopy_linux_${ARCH}_10.28.1.tar.gz \

0 commit comments

Comments
 (0)