diff --git a/scripts/docker/Dockerfile b/scripts/docker/Dockerfile index e252801dc..1f7b1ca76 100644 --- a/scripts/docker/Dockerfile +++ b/scripts/docker/Dockerfile @@ -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 diff --git a/scripts/publish.sh b/scripts/publish.sh index b21c45653..3e7b0209b 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -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