From 222febadb5c0a1c06189f3f06c9da661ba2a5fdc Mon Sep 17 00:00:00 2001 From: Fruty Date: Thu, 28 Dec 2017 12:53:33 +0200 Subject: [PATCH 1/2] Allowed laradock user use ssh settings (copied from root). --- workspace/Dockerfile-71 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workspace/Dockerfile-71 b/workspace/Dockerfile-71 index 1b7720b..384621e 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 ##################################### From 4ada536d6814b8bb304ce8582415b0ab4fcc374a Mon Sep 17 00:00:00 2001 From: Fruty Date: Thu, 28 Dec 2017 12:56:11 +0200 Subject: [PATCH 2/2] Added laradock user ssh supports for php5.6 and php7.0. --- workspace/Dockerfile-56 | 2 ++ workspace/Dockerfile-70 | 2 ++ 2 files changed, 4 insertions(+) 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 #####################################