Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade azcopy to 10.21.2 #1553

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .trivyignore

This file was deleted.

11 changes: 6 additions & 5 deletions pkg/azurefileplugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@ ARG ARCH=amd64
ARG binary=./_output/${ARCH}/azurefileplugin
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 curl
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://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 apt remove wget -y

LABEL maintainers="andyzhangx"
LABEL description="AzureFile CSI Driver"
Expand Down