Skip to content

Instantly share code, notes, and snippets.

@torosent
Last active October 11, 2021 20:51
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torosent/f671d08652b0ea421c5327d8557b747a to your computer and use it in GitHub Desktop.
Save torosent/f671d08652b0ea421c5327d8557b747a to your computer and use it in GitHub Desktop.
azcopy 10 alpine
FROM alpine:3.8
ARG VERSION=azcopy_linux_amd64_10.0.8
RUN apk --update add --virtual build-dependencies --no-cache wget tar
RUN apk --update add libc6-compat ca-certificates
RUN wget -O azcopyv10.tar https://aka.ms/downloadazcopy-v10-linux && \
tar -xf azcopyv10.tar && \
mkdir /app && \
mv ${VERSION}/azcopy /app/azcopy && \
rm -rf azcopy* && \
apk del build-dependencies
WORKDIR /app
ENTRYPOINT ["./azcopy"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment