Коммит
cc5c4f3592
|
@ -0,0 +1,33 @@
|
|||
FROM debian:jessie
|
||||
|
||||
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
|
||||
|
||||
ENV AZURE_CLI_VERSION "0.10.16"
|
||||
ENV NODEJS_APT_ROOT "node_6.x"
|
||||
ENV NODEJS_VERSION "6.11.3"
|
||||
|
||||
RUN apt-get update -qq && \
|
||||
apt-get install -qqy --no-install-recommends\
|
||||
apt-transport-https \
|
||||
build-essential \
|
||||
curl \
|
||||
ca-certificates \
|
||||
git \
|
||||
lsb-release \
|
||||
python-all \
|
||||
rlwrap \
|
||||
vim \
|
||||
nano \
|
||||
jq && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
curl https://deb.nodesource.com/${NODEJS_APT_ROOT}/pool/main/n/nodejs/nodejs_${NODEJS_VERSION}-1nodesource1~jessie1_amd64.deb > node.deb && \
|
||||
dpkg -i node.deb && \
|
||||
rm node.deb && \
|
||||
npm install --global azure-cli@${AZURE_CLI_VERSION} && \
|
||||
azure --completion >> ~/azure.completion.sh && \
|
||||
echo 'source ~/azure.completion.sh' >> ~/.bashrc && \
|
||||
azure
|
||||
|
||||
RUN azure config mode arm
|
||||
|
||||
ENV EDITOR vim
|
|
@ -0,0 +1,5 @@
|
|||
# Microsoft Azure CLI Docker Image
|
||||
|
||||
This Docker image has Microsoft Azure CLI installed and prepared. To run it, execute:
|
||||
|
||||
$ docker run -it microsoft/azure-cli
|
|
@ -1 +1 @@
|
|||
0.10.15/README.md
|
||||
0.10.16/README.md
|
||||
|
|
Загрузка…
Ссылка в новой задаче