diff options
| author | Peter Dave Hello <[email protected]> | 2020-12-12 15:46:56 +0800 |
|---|---|---|
| committer | Peter Dave Hello <[email protected]> | 2020-12-15 15:46:56 +0800 |
| commit | cede544c2e617b3436a23ebf6b2ca261a23a038e (patch) | |
| tree | 208431c610c9f5de9f7c774a99a46ad0bdfa40f1 | |
| parent | [QOL] Documentation updates about duplicating containers (diff) | |
| download | docker-osx-cede544c2e617b3436a23ebf6b2ca261a23a038e.tar.xz docker-osx-cede544c2e617b3436a23ebf6b2ca261a23a038e.zip | |
Simplify .ssh directory setup process in Dockerfile
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 \ |