summaryrefslogtreecommitdiffstats
path: root/docker/bottleneck-compose/yardstick/Dockerfile
diff options
context:
space:
mode:
authorliyin <liyin11@huawei.com>2016-11-24 12:37:10 +0800
committerAce Lee <liyin11@huawei.com>2016-11-28 10:00:52 +0000
commit484f9305389c72cd13aae83192a4ff1eac0d1652 (patch)
tree20dc6ad926d599249f78c76609b61cdbf7956f0d /docker/bottleneck-compose/yardstick/Dockerfile
parent00fd400230d4ec9f09aea10821a5a61ec28763f9 (diff)
POSCA docker-compose adapting
JIRA: BOTTLENECK-105 there are files which be need to support docker-compose. some files are docker configure file. some files are used to build docker image. kibana docker is bottlenecks project dashboard. elasticsearch docker is bottlenecks project database. influxdb docker is yardstick project database. yardstick docker is used to run test case. Change-Id: I7f0927c940a400f9f66ac77174f06236a1f4f265 Signed-off-by: liyin <liyin11@huawei.com>
Diffstat (limited to 'docker/bottleneck-compose/yardstick/Dockerfile')
-rw-r--r--docker/bottleneck-compose/yardstick/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/bottleneck-compose/yardstick/Dockerfile b/docker/bottleneck-compose/yardstick/Dockerfile
new file mode 100644
index 00000000..ae9181b0
--- /dev/null
+++ b/docker/bottleneck-compose/yardstick/Dockerfile
@@ -0,0 +1,12 @@
+FROM opnfv/yardstick:stable
+
+USER root
+
+RUN apt-get update && apt-get install -y \
+ openssh-server
+
+# Create dir to put yardstick configure file
+RUN mkdir /var/run/sshd
+
+EXPOSE 22
+CMD ["/usr/sbin/sshd", "-D"]