Added laradock user ssh supports for php5.6 and php7.0.
This commit is contained in:
parent
222febadb5
commit
4ada536d68
|
@ -209,6 +209,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
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
|
|
@ -206,6 +206,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