mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-24 23:16:43 +00:00
19 lines
516 B
Docker
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" ]
|