dockerfiles/azure-cli/Dockerfile

19 lines
394 B
Docker
Raw Permalink Normal View History

FROM python:3-alpine
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apk add --no-cache \
bash
RUN set -x \
&& apk add --no-cache --virtual .build-deps \
build-base \
libffi-dev \
openssl-dev \
&& pip install --upgrade \
--pre azure-cli \
--extra-index-url https://azurecliprod.blob.core.windows.net/edge \
--no-cache-dir \
&& apk del .build-deps
ENTRYPOINT [ "az" ]