fa7195400a6638e408fc87893d3c8689205f9b6b
[kvmfornfv.git] / docker_image_build / Dockerfile
1 #
2 #Dockerfile for creating image with yardstick and its dependency
3 #packages installed.
4 #kvmfornfv1 image has all dependency packages installed.
5 #
6 FROM kvmfornfv1:latest
7 RUN cd /root && git clone https://gerrit.opnfv.org/gerrit/p/yardstick.git -b stable/colorado
8 RUN var=`grep "loops" /root/yardstick/samples/cyclictest-node-context.yaml |awk '{ print $2/1000 }'`; \
9     sed -i -e "s/3600/$((var+1500))/g" /root/yardstick/yardstick/ssh.py
10 RUN cd /root/yardstick && python setup.py install
11 WORKDIR /root