NFVBENCH-107 NFVbench 2.0 ValueError at end of fixed rate run
[nfvbench.git] / docker / Dockerfile
index 9c15043..cd59fa0 100644 (file)
@@ -2,7 +2,6 @@
 FROM ubuntu:16.04
 
 ENV TREX_VER "v2.32"
-ENV NFVBENCH_TAG "1.2.6"
 ENV VM_IMAGE_VER "0.6"
 
 RUN apt-get update && apt-get install -y \
@@ -26,9 +25,10 @@ RUN apt-get update && apt-get install -y \
        && rm -rf /opt/trex/$TREX_VER/automation/trex_control_plane/stl/trex_stl_lib \
        && sed -i -e "s/2048 /512 /" -e "s/2048\"/512\"/" /opt/trex/$TREX_VER/trex-cfg \
        && pip install -U pip pbr \
+       && hash -r pip \
        && pip install -U setuptools \
        && cd / \
-       && git clone --depth 1 -b $NFVBENCH_TAG https://gerrit.opnfv.org/gerrit/nfvbench \
+       && git clone --depth 1 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 \
@@ -39,4 +39,3 @@ RUN apt-get update && apt-get install -y \
 ENV TREX_STL_EXT_PATH "/opt/trex/$TREX_VER/external_libs"
 
 ENTRYPOINT ["/nfvbench/docker/nfvbench-entrypoint.sh"]
-