summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-03-28 03:15:35 +0000
committerJing Lu <lvjing5@huawei.com>2017-03-29 03:26:26 +0000
commitd2261da988e5aaf883575ca51fbdf8e5202dce5c (patch)
treec470a06ab908e32abec6d44daf618ed9ed7a67da
parentaf004096fa17c9e29c663fc013228a9c82bd174d (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> (cherry picked from commit 343970dc9c6193e28863e4ab8bae801b5060ae6a)
-rw-r--r--docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index a1b88fe69..17855d11f 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