Merge "Distribute dpdk/vhostuser between CPUs for SA OVS"
[yardstick.git] / docker / k8s / Dockerfile
1 ##############################################################################
2 # Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.
3 #
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 ##############################################################################
9
10 FROM ubuntu:16.04
11
12 LABEL image=opnfv/yardstick-image-k8s
13
14 ARG BRANCH=master
15
16 # GIT repo directory
17 ENV CLONE_DEST="/opt/tempT"
18
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
25
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/
29
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
33 RUN bash build.sh
34
35 RUN git clone https://github.com/beefyamoeba5/cachestat.git ${CLONE_DEST}/Cachestat
36
37 WORKDIR /
38
39 CMD /bin/bash