Skip to content

Commit

Permalink
[docker-sonic-mgmt]: Add docker-ce-cli to sonic-mgmt container (sonic…
Browse files Browse the repository at this point in the history
…-net#3868)

In the scope of migration from docker shell plugin to docker connection plugin, we need to have docker-ce-cli installed in docker-sonic-mgmt. sonic-net/sonic-mgmt#1269

Added docker-ce-cli package to docker-sonic-mgmt.
  • Loading branch information
msosyak authored and samaity committed Aug 6, 2020
1 parent ccb316e commit 469d264
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions dockers/docker-sonic-mgmt/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,19 @@ RUN pip install ipaddr \
&& pip install nnpy \
&& pip install dpkt

# Install docker-ce-cli
RUN apt-get update \
&& apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
&& add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
&& apt-get update \
&& apt-get install -y docker-ce-cli

# Install Microsoft Azure Kusto Library for Python
RUN pip install azure-kusto-data==0.0.13 \
azure-kusto-ingest==0.0.13
Expand Down

0 comments on commit 469d264

Please sign in to comment.