Skip to content

Commit

Permalink
Update azcopy to 10.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mfinelli committed Nov 18, 2023
1 parent ae4e540 commit 26d85e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
FROM golang:alpine as builder
WORKDIR /azcopy

ARG AZCOPY_VERSION=10.21.0
ARG AZCOPY_VERSION=10.21.2
ENV AZCOPY_VERSION=$AZCOPY_VERSION

RUN \
apk --no-cache add curl patch && \
curl -LO https://github.com/Azure/azure-storage-azcopy/archive/v${AZCOPY_VERSION}.tar.gz && \
curl -LO https://patch-diff.githubusercontent.com/raw/Azure/azure-storage-azcopy/pull/2393.patch && \
tar zxf v${AZCOPY_VERSION}.tar.gz --strip-components=1 && \
patch -p1 -i 2393.patch && \
go mod vendor && \
go build -o azcopy -mod=readonly -ldflags="-s -w" && \
./azcopy --version
Expand Down

0 comments on commit 26d85e3

Please sign in to comment.