-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
20 lines (18 loc) · 1.03 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM jokeswar/base-ctl
RUN echo "Hello from Docker"
RUN apt update --fix-missing
RUN DEBIAN_FRONTEND=nonintearctive apt install -qy build-essential make python3
RUN DEBIAN_FRONTEND=nonintearctive apt install -qy sudo
RUN DEBIAN_FRONTEND=nonintearctive apt install -qy psmisc
RUN DEBIAN_FRONTEND=nonintearctive apt install -qy iproute2
RUN DEBIAN_FRONTEND=nonintearctive apt install -qy git
RUN DEBIAN_FRONTEND=nonintearctive apt install -qy mininet
RUN DEBIAN_FRONTEND=nonintearctive apt install -qy openvswitch-testcontroller
RUN DEBIAN_FRONTEND=nonintearctive apt install -qy python3-pip
RUN DEBIAN_FRONTEND=nonintearctive cp /usr/bin/ovs-testcontroller /usr/bin/ovs-controller
RUN DEBIAN_FRONTEND=nonintearctive pip3 install mininet
RUN DEBIAN_FRONTEND=nonintearctive pip3 install scapy
RUN DEBIAN_FRONTEND=nonintearctive pip3 install pathlib
RUN DEBIAN_FRONTEND=nonintearctive pip3 install git+https://github.com/mininet/mininet.git
RUN DEBIAN_FRONTEND=nonintearctive apt install -qy tshark
RUN DEBIAN_FRONTEND=nonintearctive apt install -qy tcpdump