Allowed laradock user use ssh settings (copied from root).
This commit is contained in:
parent
7fc3a9cb7a
commit
222febadb5
@ -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
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
Loading…
Reference in New Issue
Block a user