From dbc0088227b26508db59679b4d6ad209588f3d59 Mon Sep 17 00:00:00 2001 From: Amar Zavery Date: Wed, 2 Nov 2016 11:34:09 -0700 Subject: [PATCH] docker files for 0.10.6 and 0.10.7 --- 0.10.6/Dockerfile | 33 +++++++++++++++++++++++++++++++++ 0.10.6/README.md | 5 +++++ 0.10.7/Dockerfile | 33 +++++++++++++++++++++++++++++++++ 0.10.7/README.md | 5 +++++ README.md | 2 +- 5 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 0.10.6/Dockerfile create mode 100644 0.10.6/README.md create mode 100644 0.10.7/Dockerfile create mode 100644 0.10.7/README.md diff --git a/0.10.6/Dockerfile b/0.10.6/Dockerfile new file mode 100644 index 0000000..935e4f1 --- /dev/null +++ b/0.10.6/Dockerfile @@ -0,0 +1,33 @@ +FROM debian:jessie + +RUN rm /bin/sh && ln -s /bin/bash /bin/sh + +ENV AZURE_CLI_VERSION "0.10.6" +ENV NODEJS_APT_ROOT "node_4.x" +ENV NODEJS_VERSION "4.2.4" + +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 diff --git a/0.10.6/README.md b/0.10.6/README.md new file mode 100644 index 0000000..20c1653 --- /dev/null +++ b/0.10.6/README.md @@ -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 diff --git a/0.10.7/Dockerfile b/0.10.7/Dockerfile new file mode 100644 index 0000000..6c72991 --- /dev/null +++ b/0.10.7/Dockerfile @@ -0,0 +1,33 @@ +FROM debian:jessie + +RUN rm /bin/sh && ln -s /bin/bash /bin/sh + +ENV AZURE_CLI_VERSION "0.10.7" +ENV NODEJS_APT_ROOT "node_4.x" +ENV NODEJS_VERSION "4.2.4" + +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 diff --git a/0.10.7/README.md b/0.10.7/README.md new file mode 100644 index 0000000..20c1653 --- /dev/null +++ b/0.10.7/README.md @@ -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 diff --git a/README.md b/README.md index e46cf97..51d49a3 120000 --- a/README.md +++ b/README.md @@ -1 +1 @@ -0.10.5/README.md +0.10.7/README.md