You've already forked Docker-OSX
mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-06-30 18:02:34 -05:00
Simplify .ssh directory setup process in Dockerfile
This commit is contained in:
@ -76,9 +76,7 @@ RUN pacman -Syu --noconfirm \
|
||||
&& chown arch:arch /home/arch
|
||||
|
||||
# allow ssh to container
|
||||
WORKDIR /root
|
||||
RUN mkdir .ssh \
|
||||
&& chmod 700 .ssh
|
||||
RUN mkdir -m 700 /root/.ssh
|
||||
|
||||
WORKDIR /root/.ssh
|
||||
RUN touch authorized_keys \
|
||||
|
Reference in New Issue
Block a user