CORD-1591 fix permissions on ssh-config file
Change-Id: I2cbc2346db1dd7a704e53a9b17e5feaf4bdc774f
diff --git a/provisioner/Dockerfile.provisioner b/provisioner/Dockerfile.provisioner
index 1aa5742..e3be840 100644
--- a/provisioner/Dockerfile.provisioner
+++ b/provisioner/Dockerfile.provisioner
@@ -24,6 +24,7 @@
# Base image information borrowed by official golang wheezy Dockerfile
RUN apk --update add ansible openssh-client sshpass curl py2-netaddr rsync
COPY ssh-config /root/.ssh/config
+RUN chmod 700 /root/.ssh && chmod 600 /root/.ssh/config
COPY ansible.cfg /etc/ansible/ansible.cfg
COPY --from=builder /build/entry-point /service/entry-point