aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-03-28 03:15:35 +0000
committerJingLu5 <lvjing5@huawei.com>2017-03-28 03:24:48 +0000
commit343970dc9c6193e28863e4ab8bae801b5060ae6a (patch)
treee299083ff4337a07a2a170ca320903e06a75de08 /docker
parent4c1b439ccd286dc8c8a84cd8eed57d1b230c6177 (diff)
Set work directory in Yardstick container
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>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 248a6ab05..551693554 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -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