Skip to content

Commit

Permalink
Add patch to fix build until next release
Browse files Browse the repository at this point in the history
  • Loading branch information
mfinelli committed Oct 5, 2023
1 parent 2e9e827 commit ae4e540
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ ARG AZCOPY_VERSION=10.21.0
ENV AZCOPY_VERSION=$AZCOPY_VERSION

RUN \
apk --no-cache add curl && \
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 ae4e540

Please sign in to comment.