Test: Review changes.
Remove sudo dependency from fetch phase of gradle for cord-tester.
Build all cord-tester docker images locally without using the cord-test.py interface.
Change-Id: Ib00f6d8c854900eaf77f97da0d9e090511aa4ed8
diff --git a/Dockerfile.tester b/Dockerfile.tester
new file mode 100644
index 0000000..e36faad
--- /dev/null
+++ b/Dockerfile.tester
@@ -0,0 +1,37 @@
+FROM ubuntu:14.04
+MAINTAINER chetan@ciena.com
+RUN apt-get update && \
+ apt-get install -y git git-core autoconf automake autotools-dev pkg-config \
+ make gcc g++ libtool libc6-dev cmake libpcap-dev libxerces-c2-dev \
+ unzip libpcre3-dev flex bison libboost-dev \
+ python python-pip python-setuptools python-scapy tcpdump doxygen doxypy wget \
+ openvswitch-common openvswitch-switch \
+ python-twisted python-sqlite sqlite3 python-pexpect telnet arping
+RUN easy_install nose
+RUN mkdir -p /root/ovs
+WORKDIR /root
+RUN wget http://openvswitch.org/releases/openvswitch-2.5.0.tar.gz -O /root/ovs/openvswitch-2.5.0.tar.gz && \
+(cd /root/ovs && tar zxpvf openvswitch-2.5.0.tar.gz && \
+ cd openvswitch-2.5.0 && \
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-ssl && make && make install)
+RUN service openvswitch-switch restart || /bin/true
+RUN pip install -U scapy scapy-ssl_tls monotonic configObj docker-py pyyaml nsenter pyroute2 netaddr
+RUN mv /usr/sbin/tcpdump /sbin/
+RUN ln -sf /sbin/tcpdump /usr/sbin/tcpdump
+WORKDIR /root
+RUN wget -nc http://de.archive.ubuntu.com/ubuntu/pool/main/b/bison/bison_2.5.dfsg-2.1_amd64.deb \
+ http://de.archive.ubuntu.com/ubuntu/pool/main/b/bison/libbison-dev_2.5.dfsg-2.1_amd64.deb
+RUN sudo dpkg -i bison_2.5.dfsg-2.1_amd64.deb libbison-dev_2.5.dfsg-2.1_amd64.deb
+RUN rm bison_2.5.dfsg-2.1_amd64.deb libbison-dev_2.5.dfsg-2.1_amd64.deb
+RUN wget -nc http://www.nbee.org/download/nbeesrc-jan-10-2013.zip && \
+ unzip nbeesrc-jan-10-2013.zip && \
+ cd nbeesrc-jan-10-2013/src && cmake . && make && \
+ cp ../bin/libn*.so /usr/local/lib && ldconfig && \
+ cp -R ../include/* /usr/include/
+WORKDIR /root
+RUN git clone https://github.com/CPqD/ofsoftswitch13.git && \
+ cd ofsoftswitch13 && \
+ ./boot.sh && \
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-ssl && \
+ make && make install
+CMD ["/bin/bash"]