diff --git a/docker/network_automation/Dockerfile b/docker/network_automation/Dockerfile index 8b10775..178b6f5 100644 --- a/docker/network_automation/Dockerfile +++ b/docker/network_automation/Dockerfile @@ -2,9 +2,10 @@ FROM ubuntu:xenial -RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-recommends install \ - telnet curl openssh-client nano vim-tiny iputils-ping python build-essential libssl-dev libffi-dev \ - python-pip python-setuptools python-dev net-tools ansible \ +RUN DEBIAN_FRONTEND=noninteractive apt-add-repository -y ppa:ansible/ansible && apt-get update && \ + apt-get -y --no-install-recommends install telnet curl openssh-client nano vim-tiny \ + iputils-ping python build-essential libssl-dev libffi-dev python-pip python-setuptools \ + python-dev net-tools ansible python3 software-properties-common \ && rm -rf /var/lib/apt/lists/* \ && pip install --upgrade pip \ && pip install cryptography netmiko napalm pyntc