Address PR feedback and remove Azure CLI from dockerfiles

We no longer need Azure CLI since publish is now via C#.
This commit is contained in:
Sridhar Periyasamy 2016-03-08 18:46:54 -08:00
parent 3edcab8eab
commit b99e40bfab
3 changed files with 4 additions and 15 deletions

View file

@ -24,12 +24,6 @@ RUN yum -q -y install tar git cmake clang make
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 100
RUN update-alternatives --set c++ /usr/bin/clang++
# Install azure cli. We need this to publish artifacts.
RUN yum -y install nodejs && \
yum -y install npm && \
npm install -g azure-cli
RUN yum -q -y install sudo
# Setup User to match Host User, and give superuser permissions

View file

@ -69,11 +69,6 @@ RUN apt-get -qq install -y debhelper build-essential devscripts git cmake
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-3.5 100
RUN update-alternatives --set c++ /usr/bin/clang++-3.5
# Install azure cli. We need this to publish artifacts.
RUN apt-get -qqy install nodejs-legacy && \
apt-get -qqy install npm && \
npm install -g azure-cli
# Setup User to match Host User, and give superuser permissions
ARG USER_ID=0
RUN useradd -m code_executor -u ${USER_ID} -g sudo