Simplify .ssh directory setup process in Dockerfile

pull/111/head
Peter Dave Hello 4 years ago
parent c9d3f6be7b
commit cede544c2e

@ -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 \

Loading…
Cancel
Save