Skip to content

Commit

Permalink
chore: fix azcopy download error
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Jan 10, 2025
1 parent 4dd883f commit 79e1b55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/azurefileplugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ARG ARCH

RUN apt update \
&& apt install -y curl \
&& curl -Ls https://azcopyvnext.azureedge.net/releases/release-10.27.1-20241113/azcopy_linux_${ARCH}_10.27.1.tar.gz \
&& curl -Ls https://azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/releases/release-10.27.1-20241113/azcopy_linux_${ARCH}_10.27.1.tar.gz \
| tar xvzf - --strip-components=1 -C /usr/local/bin/ --wildcards "*/azcopy"

FROM base
Expand Down
2 changes: 1 addition & 1 deletion test/sanity/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ azcopyPath="/usr/local/bin/azcopy"
if [ ! -f "$azcopyPath" ]; then
echo 'Downloading azcopy...'
azcopyTarFile="azcopy.tar.gz"
wget -O $azcopyTarFile azcopyvnext.azureedge.net/releases/release-10.27.1-20241113/azcopy_linux_amd64_10.27.1.tar.gz
wget -O $azcopyTarFile azcopyvnext-awgzd8g7aagqhzhe.b02.azurefd.net/releases/release-10.27.1-20241113/azcopy_linux_amd64_10.27.1.tar.gz
tar -zxvf $azcopyTarFile
mv ./azcopy*/azcopy /usr/local/bin/azcopy
rm -rf ./$azcopyTarFile
Expand Down

0 comments on commit 79e1b55

Please sign in to comment.