summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-12-08 17:17:10 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2015-12-08 17:28:43 +0100
commit8bea42bb341239f93f8fac24b472c19e9377aa78 (patch)
treed0c20a17f2ee89e8444485776ffaee2a6d6b00af
parent2e6774462537a69be83e4ebdb8c574359163b071 (diff)
Add ssh 700 rights to the .ssh directory in the docker image
Change-Id: Id941c48134c64e8985ec342f60eb82d6bf276ba1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
-rw-r--r--docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 49f71ba12..0867b1555 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -49,6 +49,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