From 3cf80c045fd9fbfe2fc3a964750690a68e2c61e7 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Mon, 8 Apr 2024 11:05:59 +0000 Subject: [PATCH] feat: upgrade to azcopy v10.24.0 for volume clone feature --- .trivyignore | 1 - pkg/azurefileplugin/Dockerfile | 4 ++-- test/sanity/run-test.sh | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .trivyignore diff --git a/.trivyignore b/.trivyignore deleted file mode 100644 index b0f56dcff0..0000000000 --- a/.trivyignore +++ /dev/null @@ -1 +0,0 @@ -CVE-2024-24786 diff --git a/pkg/azurefileplugin/Dockerfile b/pkg/azurefileplugin/Dockerfile index c7c653e753..e82c1e56f7 100644 --- a/pkg/azurefileplugin/Dockerfile +++ b/pkg/azurefileplugin/Dockerfile @@ -21,9 +21,9 @@ COPY ${binary} /azurefileplugin RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install ca-certificates cifs-utils util-linux e2fsprogs mount udev xfsprogs nfs-common netbase wget # install azcopy -ARG azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.23.0-20240129/azcopy_linux_amd64_10.23.0.tar.gz +ARG azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.24.0-20240326/azcopy_linux_amd64_10.24.0.tar.gz RUN if [ "$ARCH" == "arm64" ] ; then \ - azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.23.0-20240129/azcopy_linux_arm64_10.23.0.tar.gz; fi + azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.24.0-20240326/azcopy_linux_arm64_10.24.0.tar.gz; fi RUN wget -O azcopy.tar.gz ${azcopyURL} && \ tar xvzf azcopy.tar.gz -C . && rm azcopy.tar.gz && \ mv ./azcopy_linux_$ARCH_*/azcopy /usr/local/bin/azcopy && \ diff --git a/test/sanity/run-test.sh b/test/sanity/run-test.sh index 3f0d9f5d38..92be6ac959 100755 --- a/test/sanity/run-test.sh +++ b/test/sanity/run-test.sh @@ -40,7 +40,7 @@ azcopyPath="/usr/local/bin/azcopy" if [ ! -f "$azcopyPath" ]; then azcopyTarFile="azcopy.tar.gz" echo 'Downloading azcopy...' - wget -O $azcopyTarFile azcopyvnext.azureedge.net/releases/release-10.23.0-20240129/azcopy_linux_amd64_10.23.0.tar.gz + wget -O $azcopyTarFile azcopyvnext.azureedge.net/releases/release-10.24.0-20240326/azcopy_linux_amd64_10.24.0.tar.gz tar -zxvf $azcopyTarFile mv ./azcopy*/azcopy /usr/local/bin/azcopy rm -rf ./$azcopyTarFile