Skip to content

Instantly share code, notes, and snippets.

@bartv2
Created March 17, 2020 20:56
Show Gist options
  • Save bartv2/1c7d2c26cbd482edc75489bdbca59c44 to your computer and use it in GitHub Desktop.
Save bartv2/1c7d2c26cbd482edc75489bdbca59c44 to your computer and use it in GitHub Desktop.
azure-cli Dockerfile
FROM alpine
ENV AZ 2.0.62
RUN apk add -U python3 bash && \
apk add --virtual=build gcc python3-dev musl-dev libffi-dev openssl-dev make && \
pip3 install azure-cli==${AZ} && \
ln -s /usr/bin/python3 /usr/bin/python && \
apk del --purge build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment