mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-22 06:07:50 +00:00
15 lines
523 B
Docker
15 lines
523 B
Docker
# docker base image for Netmiko, NAPALM, Pyntc, and Ansible
|
|
|
|
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 ansible \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& pip install --upgrade pip \
|
|
&& pip install cryptography netmiko napalm pyntc
|
|
|
|
VOLUME [ "/root" ]
|
|
CMD [ "sh", "-c", "cd; exec bash -i" ]
|
|
|