Skip to content

Commit 22ae30d

Browse files
committed
update azcopy 10.21.2
1 parent 3f47b3e commit 22ae30d

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.trivyignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

pkg/blobplugin/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN chmod +x /blobfuse-proxy/init.sh && \
2929
chmod +x /blobfuse-proxy/blobfuse-proxy
3030

3131
# packages that are only needed by aznfs: procps conntrack iptables bind9-host iproute2 bash netcat sysvinit-utils.
32-
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 sysvinit-utils curl
32+
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 sysvinit-utils
3333

3434
# install aznfs
3535
RUN if [ "$ARCH" = "amd64" ] ; then \
@@ -39,14 +39,14 @@ else \
3939
RUN tar xvzf aznfs.tar.gz -C / && rm aznfs.tar.gz
4040

4141
# install azcopy
42-
ARG azcopyURL=https://aka.ms/downloadazcopy-v10-linux
42+
ARG azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.21.2-20231106/azcopy_linux_amd64_10.21.2.tar.gz
4343
RUN if [ "$ARCH" == "arm64" ] ; then \
44-
azcopyURL=${azcopyURL}"-arm64"; fi
45-
RUN curl -sL ${azcopyURL} | tar -xz && \
44+
azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.21.2-20231106/azcopy_linux_arm64_10.21.2.tar.gz; fi
45+
RUN wget -O azcopy.tar.gz ${azcopyURL} && \
46+
tar xvzf azcopy.tar.gz -C . && rm azcopy.tar.gz && \
4647
mv ./azcopy_linux_$ARCH_*/azcopy /usr/local/bin/azcopy && \
4748
rm -rf ./azcopy_linux_$ARCH_*
4849
RUN chmod +x /usr/local/bin/azcopy
49-
RUN apt remove curl -y
5050

5151
RUN if [ "$ARCH" = "amd64" ] ; then \
5252
clean-install libcurl4-gnutls-dev && \

0 commit comments

Comments
 (0)