Skip to content

Commit

Permalink
Update installation process for Azure CLI that was broken. (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
prathmj authored and c-w committed Jul 30, 2018
1 parent d21b1b1 commit 59d3f49
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions project-fortis-backup/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ RUN apt-get update && \
wget -qO - ${CASSANDRA_URL} | tar -xzC /opt && \
ln -s /opt/${CASSANDRA_ARTIFACT} ${CASSANDRA_HOME}

# install azure cli
RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ xenial main" | tee /etc/apt/sources.list.d/azure-cli.list && \
apt-key adv --keyserver packages.microsoft.com --recv-keys 52E16F86FEE04B979B07E28DB02C46DF417A0893 && \
RUN apt-get -qq update && \
apt-get -qq install -y libssl-dev libffi-dev python-dev curl && \
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ xenial main" | tee /etc/apt/sources.list.d/azure-cli.list && \
curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
apt-get -qq install -y apt-transport-https && \
apt-get update && \
apt-get -qq update && \
apt-get -qq install -y azure-cli

# install app dependencies
Expand Down

0 comments on commit 59d3f49

Please sign in to comment.