JIRA: BOTTLENECK-117
This patch change the docker-compose file.
because of yardstick dockerfile.
so bottlenecks also need to change the style of docker-compose.
Change-Id: Idb82120c5b00ef8595a993886fa3fc0d6b6c4c32
Signed-off-by: liyin <liyin11@huawei.com>
yardstick:
restart: always
- build: yardstick/
+ image: opnfv/yardstick:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
+++ /dev/null
-FROM opnfv/yardstick:latest
-
-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"]