From f88f79566bebfcfdb4f70cd7870220d285cd1ece Mon Sep 17 00:00:00 2001 From: Kerim Gokarslan Date: Wed, 20 Sep 2017 14:54:21 -0700 Subject: NFVBENCH-31 Build container with the VM image in it Change-Id: Ia6870ee63b50e677e00c1f91649e7c590288b44d Signed-off-by: Kerim Gokarslan --- docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docker/Dockerfile') diff --git a/docker/Dockerfile b/docker/Dockerfile index 9333588..770ff2c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,6 +3,7 @@ FROM ubuntu:16.04 ENV TREX_VER "v2.29" ENV NFVBENCH_TAG "1.0.7" +ENV VM_IMAGE_VER "0.4" RUN apt-get update && apt-get install -y \ git \ @@ -28,6 +29,7 @@ RUN apt-get update && apt-get install -y \ && cd / \ && git clone --depth 1 -b $NFVBENCH_TAG https://gerrit.opnfv.org/gerrit/nfvbench \ && cd /nfvbench && pip install -e . \ + && wget -O nfvbenchvm-$VM_IMAGE_VER.qcow2 http://artifacts.opnfv.org/nfvbench/images/nfvbenchvm_centos-$VM_IMAGE_VER.qcow2 \ && python ./docker/cleanup_generators.py \ && rm -rf /nfvbench/.git \ && apt-get remove -y wget git \ -- cgit 1.2.3-korg