Merge pull request #174 from Sridhar-MS/install-azure-cli

Install azure cli in the docker container
This commit is contained in:
Sridhar Periyasamy 2015-11-10 18:01:34 -08:00
commit a1fbe60e13
2 changed files with 6 additions and 0 deletions

View file

@ -17,5 +17,10 @@ RUN echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.6 main" | tee
# Use clang as c++ compiler
RUN update-alternatives --set c++ /usr/bin/clang++
# Install azure cli. We need this to publish atrifacts.
RUN apt-get -y install nodejs-legacy && \
apt-get -y install npm && \
npm install -g azure-cli
# Set working directory
WORKDIR /opt/code

View file

@ -165,6 +165,7 @@ upload_installers_to_blob_storage(){
# debain packages need to be uploaded to the PPA feed too
if [[ $installfile == *.deb ]]; then
DEB_FILE=$installfile
UPLOAD_URL="https://$STORAGE_ACCOUNT.blob.core.windows.net/$STORAGE_CONTAINER/$blob"
generate_repoclient_json
call_repo_client
fi