Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mininet-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HUIN Nicolas
mininet-docker
Commits
268f38e3
Commit
268f38e3
authored
1 year ago
by
HUIN Nicolas
Browse files
Options
Downloads
Patches
Plain Diff
fix(ovs): add ovs install without kernel module
parent
fc14e1a5
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mininet/Dockerfile
+20
-6
20 additions, 6 deletions
mininet/Dockerfile
with
20 additions
and
6 deletions
mininet/Dockerfile
+
20
−
6
View file @
268f38e3
...
...
@@ -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"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment