Created Init-Container that pulls pubkeys from git, creates authorized_keys, ssh-host-keys and backup-repo folders
This commit is contained in:
parent
ac797c90f6
commit
1a8e59d773
11 changed files with 273 additions and 146 deletions
13
init/Dockerfile
Normal file
13
init/Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Borgserver Init-Container, simply replace entrypoiny and install git
|
||||
#FROM nold360/borgserver:latest
|
||||
FROM borg:git
|
||||
|
||||
USER root
|
||||
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||
apt-get update && \
|
||||
apt-get -y --no-install-recommends install \
|
||||
git ca-certificates && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
Loading…
Add table
Add a link
Reference in a new issue