Created Init-Container that pulls pubkeys from git, creates authorized_keys, ssh-host-keys and backup-repo folders

This commit is contained in:
nold 2020-03-24 16:00:00 +01:00
parent ac797c90f6
commit 1a8e59d773
11 changed files with 273 additions and 146 deletions

13
init/Dockerfile Normal file
View 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