diff --git a/workspace/Dockerfile-56 b/workspace/Dockerfile-56 index 457f76e..3636bca 100644 --- a/workspace/Dockerfile-56 +++ b/workspace/Dockerfile-56 @@ -209,6 +209,8 @@ RUN if [ ${INSTALL_WORKSPACE_SSH} = true ]; then \ && rm -f /tmp/id_rsa* \ && chmod 644 /root/.ssh/authorized_keys /root/.ssh/id_rsa.pub \ && chmod 400 /root/.ssh/id_rsa \ + && cp -rf /root/.ssh /home/laradock \ + && chown -R laradock:laradock /home/laradock/.ssh \ ;fi ##################################### diff --git a/workspace/Dockerfile-70 b/workspace/Dockerfile-70 index c6fc7d9..873f2b6 100644 --- a/workspace/Dockerfile-70 +++ b/workspace/Dockerfile-70 @@ -206,6 +206,8 @@ RUN if [ ${INSTALL_WORKSPACE_SSH} = true ]; then \ && rm -f /tmp/id_rsa* \ && chmod 644 /root/.ssh/authorized_keys /root/.ssh/id_rsa.pub \ && chmod 400 /root/.ssh/id_rsa \ + && cp -rf /root/.ssh /home/laradock \ + && chown -R laradock:laradock /home/laradock/.ssh \ ;fi #####################################