Skip to content

Commit

Permalink
update azcopy 10.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
umagnus committed Nov 7, 2023
1 parent 3f47b3e commit 22ae30d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .trivyignore

This file was deleted.

10 changes: 5 additions & 5 deletions pkg/blobplugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN chmod +x /blobfuse-proxy/init.sh && \
chmod +x /blobfuse-proxy/blobfuse-proxy

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

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

# install azcopy
ARG azcopyURL=https://aka.ms/downloadazcopy-v10-linux
ARG azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.21.2-20231106/azcopy_linux_amd64_10.21.2.tar.gz
RUN if [ "$ARCH" == "arm64" ] ; then \
azcopyURL=${azcopyURL}"-arm64"; fi
RUN curl -sL ${azcopyURL} | tar -xz && \
azcopyURL=https://azcopyvnext.azureedge.net/releases/release-10.21.2-20231106/azcopy_linux_arm64_10.21.2.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 && \
rm -rf ./azcopy_linux_$ARCH_*
RUN chmod +x /usr/local/bin/azcopy
RUN apt remove curl -y

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

0 comments on commit 22ae30d

Please sign in to comment.