Fix Docker build of Clovisor Docker image on OPNFV Jenkins 57/64457/2
authorStephen Wong <stephen.kf.wong@gmail.com>
Sat, 3 Nov 2018 05:18:51 +0000 (05:18 +0000)
committerStephen Wong <stephen.kf.wong@gmail.com>
Sat, 3 Nov 2018 05:35:23 +0000 (05:35 +0000)
Change-Id: Ied0ef2ccd4eb95cace68826a1494e82f2c18d95c
Signed-off-by: Stephen Wong <stephen.kf.wong@gmail.com>
clover/clovisor/Dockerfile

index 4df4ee5..63375a1 100644 (file)
@@ -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"]