Set work directory in Yardstick container 67/31967/2
authorJingLu5 <lvjing5@huawei.com>
Tue, 28 Mar 2017 03:15:35 +0000 (03:15 +0000)
committerJingLu5 <lvjing5@huawei.com>
Tue, 28 Mar 2017 03:24:48 +0000 (03:24 +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>
docker/Dockerfile

index 248a6ab..5516935 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