Add: Clone git repo with SSH public keys into SSH_KEY_DIR
This commit is contained in:
parent
a741486bb3
commit
4325a3d964
3 changed files with 21 additions and 8 deletions
|
@ -13,7 +13,7 @@ VOLUME /backup
|
|||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN apt-get update && apt-get -y --no-install-recommends install \
|
||||
borgbackup openssh-server && apt-get clean && \
|
||||
borgbackup openssh-server git ca-certificates && apt-get clean && \
|
||||
useradd -s /bin/bash -m borg && \
|
||||
mkdir /home/borg/.ssh && \
|
||||
chmod 700 /home/borg/.ssh && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue