-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (26 loc) · 868 Bytes
/
Dockerfile
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
FROM ubuntu:14.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -y
### Lagopus vswitch installation w/o Intel DPDK
RUN apt-get install -y build-essential libexpat-dev libgmp-dev libncurses-dev \
libssl-dev libpcap-dev byacc flex libreadline-dev \
python-dev python-pastedeploy python-paste python-twisted git
WORKDIR /src
RUN git clone https://github.com/lagopus/lagopus.git
WORKDIR /src/lagopus
RUN ./configure
RUN make
RUN make install
### Install Ryu, an OpenFlow 1.3 controller
RUN apt-get install -y python-setuptools python-pip python-dev \
libxml2-dev libxslt-dev git
WORKDIR /src
RUN git clone https://github.com/osrg/ryu.git
WORKDIR /src/ryu
RUN python ./setup.py install
RUN apt-get install -y git
WORKDIR /src
RUN git clone https://github.com/jpetazzo/pipework.git
WORKDIR /src/pipework
RUN install -m 0755 pipework /usr/local/bin
WORKDIR /