gns3-registry/docker/pyats/Dockerfile
2024-05-09 21:10:56 +07:00

19 lines
516 B
Docker

FROM ubuntu:jammy
WORKDIR /pyats
RUN apt update
RUN apt install -y nano
RUN apt install -y net-tools
RUN apt install -y openssh-client
RUN echo KexAlgorithms diffie-hellman-group14-sha1 >> /etc/ssh/ssh_config
RUN echo HostKeyAlgorithms ssh-rsa >> /etc/ssh/ssh_config
RUN apt install -y python3
RUN apt install -y python3-pip
RUN apt install -y traceroute
RUN apt install -y iputils-ping
RUN python3 -m pip install --upgrade pip wheel setuptools
RUN python3 -m pip install "pyats[full]"
ENTRYPOINT [ "/bin/bash" ]