Chetan Gaonker | c0566b5 | 2016-03-09 11:31:51 -0800 | [diff] [blame] | 1 | FROM ubuntu |
| 2 | MAINTAINER chetan@ciena.com |
| 3 | |
| 4 | LABEL RUN docker pull ubuntu:14.04 |
| 5 | LABEL RUN docker run -it --name nosetest ubuntu:14.04 |
| 6 | |
| 7 | RUN apt-get update |
| 8 | RUN apt-get -y install git python python-pip python-setuptools python-scapy tcpdump doxygen doxypy |
| 9 | RUN easy_install nose |
| 10 | RUN apt-get -y install openvswitch-common openvswitch-switch |
| 11 | WORKDIR /root |
| 12 | RUN mkdir ovs |
| 13 | COPY ./openvswitch-2.4.0.tar.gz /root |
| 14 | COPY ./build_ovs.sh /root/ |
| 15 | RUN /root/build_ovs.sh |
Chetan Gaonker | 12f4de1 | 2016-03-15 15:43:17 -0700 | [diff] [blame] | 16 | RUN apt-get -y install python-twisted python-sqlite sqlite3 |
Chetan Gaonker | c0566b5 | 2016-03-09 11:31:51 -0800 | [diff] [blame] | 17 | RUN pip install scapy-ssl_tls |
Chetan Gaonker | 12f4de1 | 2016-03-15 15:43:17 -0700 | [diff] [blame] | 18 | RUN pip install -U scapy |
Chetan Gaonker | c0566b5 | 2016-03-09 11:31:51 -0800 | [diff] [blame] | 19 | RUN pip install monotonic |
| 20 | RUN mv /usr/sbin/tcpdump /sbin/ |
| 21 | RUN ln -sf /sbin/tcpdump /usr/sbin/tcpdump |
| 22 | CMD ["/bin/bash"] |