summaryrefslogtreecommitdiffstats
path: root/docker_image_build
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2016-09-29 11:00:22 +0530
committerkalyanreddy <reddyx.gundarapu@intel.com>2016-10-13 14:33:52 +0530
commit49923546d8bdc8a3a101ba80ac0810f3e1fcb36a (patch)
tree8da5265415bdf3371ecb78bcbd83851e199e5b25 /docker_image_build
parent91e941a768d5dd45b0fdb9ed5d2fb2ee566e542c (diff)
This patch contains updated Dockerfile to modify SSH Timeout value
for the execution of cyclictest through yardstick Change-Id: I382408d0f462c05f3f9b6578b3e00d104d127ee7 Co-Authored-By: Shravani <shravani.p@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
Diffstat (limited to 'docker_image_build')
-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