summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2018-07-26 15:50:31 -0500
committerBrian Freeman <bf1936@att.com>2018-07-26 15:50:44 -0500
commitf9d157902e64d0fce03dd130d053cc43c6ab05ea (patch)
tree886271c362b05db9cffd9ac80f9c140ba84bbc58
parent20f11e42fb38e94ea7639c8ee69356ca7292e8ab (diff)
Fix mode on ssh keys
Issue-ID: TEST-111 Change-Id: I1c76efad242a866a0d47597b42ad2b390d15df3a Signed-off-by: Brian Freeman <bf1936@att.com>
-rw-r--r--docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 3ec5b9ca..bdd6d447 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -45,6 +45,9 @@ RUN chmod 777 /var/opt/OpenECOMP_ETE/setup.sh && \
chmod 777 /var/opt/OpenECOMP_ETE/runSoak.sh && \
chmod 777 /var/opt/OpenECOMP_ETE/runEteTag.sh
+# Set mode for the SSH keys
+RUN chmod 600 /var/opt/OpenECOMP_ETE/robot/assets/keys/*
+
# Update the ssh library so that it will run properly in the docker env
RUN cd /var/opt/OpenECOMP_ETE && ./setup.sh && apt-get clean