Skip to content

Commit 222feba

Browse files
committed
Allowed laradock user use ssh settings (copied from root).
1 parent 7fc3a9c commit 222feba

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

workspace/Dockerfile-71

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ RUN if [ ${INSTALL_WORKSPACE_SSH} = true ]; then \
202202
&& rm -f /tmp/id_rsa* \
203203
&& chmod 644 /root/.ssh/authorized_keys /root/.ssh/id_rsa.pub \
204204
&& chmod 400 /root/.ssh/id_rsa \
205+
&& cp -rf /root/.ssh /home/laradock \
206+
&& chown -R laradock:laradock /home/laradock/.ssh \
205207
;fi
206208

207209
#####################################

0 commit comments

Comments
 (0)