-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.tests
47 lines (39 loc) · 964 Bytes
/
Dockerfile.tests
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM osrg/ryu
RUN \
apt-get update && \
apt-get install -qy --no-install-recommends \
git \
iputils-ping \
libpython2.7-dev \
libyaml-dev \
net-tools \
netcat-openbsd \
psmisc \
python-paramiko \
python-pip \
sudo \
tcpdump \
vlan \
ladvd
RUN \
git clone git://github.com/mininet/mininet && \
cd mininet && \
git checkout -b 2.2.1 2.2.1 && \
cd .. && \
mininet/util/install.sh -nfv
RUN \
wget --no-check-certificate https://github.com/Exa-Networks/exabgp/archive/3.4.10.tar.gz && \
tar -zxf 3.4.10.tar.gz && \
cd exabgp-3.4.10 && python setup.py install
RUN \
apt-get remove -qy python-pip && \
wget https://bootstrap.pypa.io/get-pip.py && \
python get-pip.py
RUN \
apt-get remove -qy pylint && \
pip install --upgrade pylint>=1.6
COPY ./ /faucet-src/
RUN \
pip install -r /faucet-src/requirements.txt && \
pip install /faucet-src
CMD ["/faucet-src/docker/runtests.sh"]