Skip to content

Commit

Permalink
chore: declutter dockerfile and remove extra wget command
Browse files Browse the repository at this point in the history
  • Loading branch information
meysam81 committed Feb 8, 2024
1 parent 0908dbe commit 7347e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV GOARCH=$TARGETARCH GOOS=linux CGO_ENABLED=0
WORKDIR /azcopy
ARG AZCOPY_VERSION
RUN apk add --no-cache build-base
RUN wget "https://github.com/Azure/azure-storage-azcopy/archive/v$AZCOPY_VERSION.tar.gz" -O src.tgz || wget "https://github.com/Azure/azure-storage-azcopy/archive/$AZCOPY_VERSION.tar.gz" -O src.tgz
RUN wget "https://github.com/Azure/azure-storage-azcopy/archive/$AZCOPY_VERSION.tar.gz" -O src.tgz
RUN tar xf src.tgz --strip 1 \
&& go build -o azcopy \
&& ./azcopy --version
Expand Down

0 comments on commit 7347e5f

Please sign in to comment.