Set work directory in Yardstick container 17/32117/1
authorJingLu5 <lvjing5@huawei.com>
Tue, 28 Mar 2017 03:15:35 +0000 (03:15 +0000)
committerJing Lu <lvjing5@huawei.com>
Wed, 29 Mar 2017 03:26:26 +0000 (03:26 +0000)
JIRA: YARDSTICK-608

Set the work directory to /home/opnfv/repos in yardstick docker container to
help users better understand file structure.
This is a improvement related with document improvement.

Change-Id: Ief4b76e6d6898ceab4a546574f5a09d51eb0d945
Signed-off-by: JingLu5 <lvjing5@huawei.com>
(cherry picked from commit 343970dc9c6193e28863e4ab8bae801b5060ae6a)

docker/Dockerfile

index a1b88fe..17855d1 100644 (file)
@@ -16,6 +16,9 @@ ARG BRANCH=master
 # GIT repo directory
 ENV REPOS_DIR /home/opnfv/repos
 
+# Set work directory
+WORKDIR /home/opnfv/repos
+
 # Yardstick repo
 ENV YARDSTICK_REPO_DIR ${REPOS_DIR}/yardstick
 ENV RELENG_REPO_DIR ${REPOS_DIR}/releng