Skip to content
Snippets Groups Projects
Commit 268f38e3 authored by HUIN Nicolas's avatar HUIN Nicolas
Browse files

fix(ovs): add ovs install without kernel module

parent fc14e1a5
No related branches found
No related tags found
No related merge requests found
......@@ -27,20 +27,34 @@ FROM ubuntu:18.04
# executable. For language-specific examples, take a look at the Dockerfiles in
# the Awesome Compose repository: https://github.com/docker/awesome-compose
RUN apt update && apt install -y git sudo python3 python3-pep8 openvswitch-switch iputils-ping
RUN apt update
RUN apt install -y git
RUN apt install -y sudo
RUN apt install -y python3
RUN apt install -y python3-pep8
WORKDIR /build/ovs
RUN git clone https://github.com/openvswitch/ovs.git -b v3.3.0 /build/ovs
RUN apt install -y autoconf libtool make
RUN apt install -y make
RUN ./boot.sh
RUN ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
RUN make
RUN make install
RUN git clone https://github.com/mininet/mininet -b 2.3.0 /build/mininet
# Avoid issue with git clone
RUN git config --global url."https://github.com/".insteadOf git@github.com:
RUN git config --global url."https://".insteadOf git://
RUN PYTHON=python3 /build/mininet/util/install.sh -a
RUN PYTHON=python3 /build/mininet/util/install.sh -fn
#
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
#
RUN cp /usr/bin/ovs-testcontroller /usr/bin/ovs-controller
#
RUN apt install -y dnsutils iptables x11-xserver-utils
RUN touch /etc/network/interfaces
#
ENTRYPOINT ["/entrypoint.sh"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment