X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=docker%2FDockerfile;h=3d494a232c4415b779813b8bee97e8da2537b42f;hb=refs%2Fchanges%2F89%2F52589%2F1;hp=93335882390ddce18443b2b60fd3fdb2338ae5a4;hpb=230d84f20f70ebcbafa1f8f3d32461649c8c49b1;p=nfvbench.git diff --git a/docker/Dockerfile b/docker/Dockerfile index 9333588..3d494a2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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.2.5" +ENV VM_IMAGE_VER "0.5" 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 \