aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 49f71ba12..4ae0d30b3 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -25,6 +25,8 @@ LABEL version="0.1" description="OPNFV Functest Docker container"
ENV repos_dir /home/opnfv/repos
+WORKDIR /home/opnfv
+
# Packaged dependencies
RUN apt-get update && apt-get install -y \
ssh \
@@ -49,6 +51,8 @@ crudini \
RUN mkdir -p ${repos_dir}
+RUN mkdir -p /root/.ssh
+RUN chmod 700 /root/.ssh
RUN git config --global http.sslVerify false
RUN git clone https://gerrit.opnfv.org/gerrit/functest ${repos_dir}/functest