diff options
Diffstat (limited to 'docker_build/Dockerfile')
| -rw-r--r-- | docker_build/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker_build/Dockerfile b/docker_build/Dockerfile index 5df57d2..16f74d6 100644 --- a/docker_build/Dockerfile +++ b/docker_build/Dockerfile @@ -19,8 +19,8 @@ RUN mkdir -p /var/run/sshd && \ RUN mkdir -p /root/.ssh && \ chmod 700 /root/.ssh && \ usermod -s /bin/bash root -# Copy SSH public keys from ssh-keys directory into the image -COPY ssh-keys/*.pub /tmp/ssh-keys/ +# Copy SSH public keys from docker_build/ssh-keys directory into the image +COPY docker_build/ssh-keys/*.pub /tmp/ssh-keys/ RUN cat /tmp/ssh-keys/*.pub > /root/.ssh/authorized_keys && \ chmod 600 /root/.ssh/authorized_keys && \ rm -rf /tmp/ssh-keys |
