1 ##############################################################################
2 # Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
12 LABEL image=opnfv/yardstick-image-k8s
17 ENV CLONE_DEST="/opt/tempT"
19 RUN apt-get update && apt-get install -y \
20 git bc bonnie++ fio gcc iperf3 ethtool \
21 iproute2 linux-tools-common linux-tools-generic \
22 lmbench make netperf patch perl rt-tests stress \
23 sysstat iputils-ping openssh-server sudo && \
24 apt-get -y autoremove && apt-get clean
26 RUN rm -rf -- ${CLONE_DEST}
27 RUN git clone https://github.com/kdlucas/byte-unixbench.git ${CLONE_DEST}
28 RUN mkdir -p ${CLONE_DEST}/UnixBench/
30 RUN git clone https://github.com/beefyamoeba5/ramspeed.git ${CLONE_DEST}/RAMspeed
31 WORKDIR ${CLONE_DEST}/RAMspeed/ramspeed-2.6.0
32 RUN mkdir -p ${CLONE_DEST}/RAMspeed/ramspeed-2.6.0/temp
35 RUN git clone https://github.com/beefyamoeba5/cachestat.git ${CLONE_DEST}/Cachestat