summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Wong <stephen.kf.wong@gmail.com>2018-11-03 05:18:51 +0000
committerStephen Wong <stephen.kf.wong@gmail.com>2018-11-03 05:36:55 +0000
commit26fd36dcbe5445e75013ac42130fc1deb320d380 (patch)
tree0c44d1561ffcec42d24fdd49ea1956c2c06416d3
parentd9bbeea6a6a0a37f60580a28c093aed96c033c26 (diff)
Fix Docker build of Clovisor Docker image on OPNFV Jenkins
Change-Id: Ied0ef2ccd4eb95cace68826a1494e82f2c18d95c Signed-off-by: Stephen Wong <stephen.kf.wong@gmail.com>
-rw-r--r--clover/clovisor/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/clover/clovisor/Dockerfile b/clover/clovisor/Dockerfile
index 4df4ee5..63375a1 100644
--- a/clover/clovisor/Dockerfile
+++ b/clover/clovisor/Dockerfile
@@ -1,6 +1,6 @@
FROM ubuntu:18.04
-ARG TARGET_KERNEL_VER
+ARG TARGET_KERNEL_VER="4.15.0-36-generic"
RUN set -ex; \
echo "deb [trusted=yes] http://repo.iovisor.org/apt/bionic bionic main" > /etc/apt/sources.list.d/iovisor.list; \
@@ -12,6 +12,7 @@ RUN set -ex; \
libelf1;
COPY . .
+COPY bin/clovisor .
RUN chmod +x clovisor
CMD ["./clovisor"]