aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 6e6b713..3b49af9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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 \