Allowed laradock user use ssh settings (copied from root).

This commit is contained in:
Fruty 2017-12-28 12:53:33 +02:00
parent 7fc3a9cb7a
commit 222febadb5

View File

@ -202,6 +202,8 @@ RUN if [ ${INSTALL_WORKSPACE_SSH} = true ]; then \
&& rm -f /tmp/id_rsa* \ && rm -f /tmp/id_rsa* \
&& chmod 644 /root/.ssh/authorized_keys /root/.ssh/id_rsa.pub \ && chmod 644 /root/.ssh/authorized_keys /root/.ssh/id_rsa.pub \
&& chmod 400 /root/.ssh/id_rsa \ && chmod 400 /root/.ssh/id_rsa \
&& cp -rf /root/.ssh /home/laradock \
&& chown -R laradock:laradock /home/laradock/.ssh \
;fi ;fi
##################################### #####################################