Browse Source

Fix inserting kernel module issue

Change-Id: Ia742955fdf106ebbc258a33a41172826c5de99a6
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
vagrant 3 years ago
parent
commit
9cc3728f94
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      ovs-nsh/Dockerfile

+ 5
- 1
ovs-nsh/Dockerfile View File

@@ -1,11 +1,15 @@
1 1
 #!/bin/bash
2 2
 
3 3
 FROM ubuntu:14.04.3
4
+
5
+RUN rm -rf /lib/modules
4 6
 RUN apt-get update
5 7
 RUN apt-get install -y software-properties-common python-software-properties \
6 8
     make python-setuptools python-all dpkg-dev debhelper \
7 9
     fuseiso git genisoimage bind9-host wget curl lintian tmux lxc iptables \
8
-    ca-certificates sudo apt-utils lsb-release libtool autoconf automake build-essential fakeroot libssl-dev graphviz dh-autoreconf python-qt4 python-twisted-conch python-zopeinterface linux-headers-`uname -r`
10
+    ca-certificates sudo apt-utils lsb-release libtool autoconf automake build-essential fakeroot libssl-dev graphviz dh-autoreconf python-qt4 python-twisted-conch python-zopeinterface linux-headers-3.13.0-71-generic
11
+
12
+RUN ln -s /lib/modules/3.13.0-71-generic /lib/modules/`uname -r`
9 13
 
10 14
 RUN apt-get install -y pkg-config unzip liblua5.2-dev libpcap-dev libedit-dev libncurses5-dev libncursesw5-dev
11 15
 

Loading…
Cancel
Save