blob: fa7195400a6638e408fc87893d3c8689205f9b6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#
#Dockerfile for creating image with yardstick and its dependency
#packages installed.
#kvmfornfv1 image has all dependency packages installed.
#
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
|