summaryrefslogtreecommitdiffstats
path: root/docker_image_build/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker_image_build/Dockerfile')
-rw-r--r--docker_image_build/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker_image_build/Dockerfile b/docker_image_build/Dockerfile
index fd1ea5883..fa7195400 100644
--- a/docker_image_build/Dockerfile
+++ b/docker_image_build/Dockerfile
@@ -5,5 +5,7 @@
#
FROM kvmfornfv1:latest
RUN cd /root && git clone https://gerrit.opnfv.org/gerrit/p/yardstick.git -b stable/colorado
+RUN var=`grep "loops" /root/yardstick/samples/cyclictest-node-context.yaml |awk '{ print $2/1000 }'`; \
+ sed -i -e "s/3600/$((var+1500))/g" /root/yardstick/yardstick/ssh.py
RUN cd /root/yardstick && python setup.py install
WORKDIR /root