Die Struktur geändert um künftig mehrere Server in einem Ruth zu sichern

Change-Id: If82413b0b88b04028459ef329cd3151d38ed7966
This commit is contained in:
2018-01-06 11:04:08 +01:00
parent c10bbf7d76
commit 7a2c0ba143
5 changed files with 102 additions and 15 deletions
+12 -4
View File
@@ -1,9 +1,17 @@
FROM python:2
WORKDIR /root
MAINTAINER Vitali Graf <info@vitaligraf.de>
RUN apt-get update && apt-get install rdiff-backup --no-install-recommends -y && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install rdiff-backup python-pyxattr python-pylibacl --no-install-recommends -y && apt-get clean && rm -rf /var/lib/apt/lists/*
COPY ./backup.sh /root/backup.sh
COPY *.sh /
VOLUME ["/root/job.conf", "/root/.ssh", "/var/backups"]
VOLUME /backups /config /root/.ssh
WORKDIR /
ENV SSH_KEY_MARKER "hier X belibigen wert setzen"
ENTRYPOINT ["/start.sh"]
CMD ["--gen-config"]