Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions 0.10.18/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
FROM node:6-slim

RUN rm /bin/sh && ln -s /bin/bash /bin/sh

ENV AZURE_CLI_VERSION="0.10.18" \
EDITOR=vim

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 \
zip

#Run as non-root node user
WORKDIR /home/node/
RUN mkdir -p /home/node/app /home/node/.npm-global && \
chown -R node:node /home/node
ENV PATH=/home/node/.npm-global/bin:$PATH \
NPM_CONFIG_PREFIX=/home/node/.npm-global

USER node
RUN 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

ENTRYPOINT ["azure"]
5 changes: 5 additions & 0 deletions 0.10.18/README.md
Original file line number Diff line number Diff line change
@@ -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
38 changes: 38 additions & 0 deletions 0.10.19/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
FROM node:6-slim

RUN rm /bin/sh && ln -s /bin/bash /bin/sh

ENV AZURE_CLI_VERSION="0.10.19" \
EDITOR=vim

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 \
zip

#Run as non-root node user
WORKDIR /home/node/
RUN mkdir -p /home/node/app /home/node/.npm-global && \
chown -R node:node /home/node
ENV PATH=/home/node/.npm-global/bin:$PATH \
NPM_CONFIG_PREFIX=/home/node/.npm-global

USER node
RUN 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

ENTRYPOINT ["azure"]
5 changes: 5 additions & 0 deletions 0.10.19/README.md
Original file line number Diff line number Diff line change
@@ -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
38 changes: 38 additions & 0 deletions 0.10.20/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
FROM node:6-slim

RUN rm /bin/sh && ln -s /bin/bash /bin/sh

ENV AZURE_CLI_VERSION="0.10.20" \
EDITOR=vim

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 \
zip

#Run as non-root node user
WORKDIR /home/node/
RUN mkdir -p /home/node/app /home/node/.npm-global && \
chown -R node:node /home/node
ENV PATH=/home/node/.npm-global/bin:$PATH \
NPM_CONFIG_PREFIX=/home/node/.npm-global

USER node
RUN 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

ENTRYPOINT ["azure"]
5 changes: 5 additions & 0 deletions 0.10.20/README.md
Original file line number Diff line number Diff line change
@@ -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