Move Docker build to tag 1.3.1
[nfvbench.git] / docker / Dockerfile
index 9333588..3df8c8b 100644 (file)
@@ -1,8 +1,9 @@
 # docker file for creating a container that has nfvbench installed and ready to use
 FROM ubuntu:16.04
 
-ENV TREX_VER "v2.29"
-ENV NFVBENCH_TAG "1.0.7"
+ENV TREX_VER "v2.32"
+ENV NFVBENCH_TAG "1.3.1"
+ENV VM_IMAGE_VER "0.6"
 
 RUN apt-get update && apt-get install -y \
        git \
@@ -13,6 +14,7 @@ RUN apt-get update && apt-get install -y \
        vim \
        wget \
        net-tools \
+       libelf1 \
        && mkdir /tmp/http_root \
        && mkdir -p /opt/trex \
        && mkdir /var/log/nfvbench \
@@ -28,6 +30,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 \