Die Struktur geändert um künftig mehrere Server in einem Ruth zu sichern
Change-Id: If82413b0b88b04028459ef329cd3151d38ed7966
This commit is contained in:
+12
-4
@@ -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"]
|
||||
Reference in New Issue
Block a user