From 4ada536d6814b8bb304ce8582415b0ab4fcc374a Mon Sep 17 00:00:00 2001 From: Fruty Date: Thu, 28 Dec 2017 12:56:11 +0200 Subject: [PATCH] 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 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 #####################################