diff --git a/workspace/Dockerfile-56 b/workspace/Dockerfile-56 index 457f76e9..3636bca5 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 c6fc7d97..873f2b61 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 ##################################### diff --git a/workspace/Dockerfile-71 b/workspace/Dockerfile-71 index 1b7720bf..384621ec 100644 --- a/workspace/Dockerfile-71 +++ b/workspace/Dockerfile-71 @@ -202,6 +202,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 #####################################