mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-23 02:39:59 +08:00
Simplify .ssh directory setup process in Dockerfile
This commit is contained in:
parent
c9d3f6be7b
commit
cede544c2e
@ -76,9 +76,7 @@ RUN pacman -Syu --noconfirm \
|
|||||||
&& chown arch:arch /home/arch
|
&& chown arch:arch /home/arch
|
||||||
|
|
||||||
# allow ssh to container
|
# allow ssh to container
|
||||||
WORKDIR /root
|
RUN mkdir -m 700 /root/.ssh
|
||||||
RUN mkdir .ssh \
|
|
||||||
&& chmod 700 .ssh
|
|
||||||
|
|
||||||
WORKDIR /root/.ssh
|
WORKDIR /root/.ssh
|
||||||
RUN touch authorized_keys \
|
RUN touch authorized_keys \
|
||||||
|
Loading…
Reference in New Issue
Block a user