gns3-registry/docker/network_automation/Dockerfile

18 lines
687 B
Docker
Raw Normal View History

2017-06-27 17:16:10 +00:00
# docker base image for Netmiko, NAPALM, Pyntc, and Ansible
FROM ubuntu:xenial
2017-07-19 18:14:33 +00:00
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 python3 software-properties-common \
&& apt-add-repository -y ppa:ansible/ansible \
&& apt-get update && apt-get -y --no-install-recommends ansible \
2017-06-27 17:16:10 +00:00
&& rm -rf /var/lib/apt/lists/* \
&& pip install --upgrade pip \
2017-06-27 17:16:10 +00:00
&& pip install cryptography netmiko napalm pyntc
VOLUME [ "/root" ]
CMD [ "sh", "-c", "cd; exec bash -i" ]