summaryrefslogtreecommitdiff
path: root/images/backup/duplicity/Dockerfile
blob: 490997bf3482a397f72fc3a7d97e3d38ae2e9a5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM alpine:3.5

RUN apk add --no-cache duplicity ca-certificates gnupg openssh-client py-paramiko py2-pip

RUN pip install --upgrade setuptools
RUN pip install --upgrade distribute

ADD backup.sh /backup.sh
ADD restore.sh /restore.sh

RUN mkdir /root/.gnupg/
ADD gpg-agent.conf /root/.gnupg/gpg-agent.conf
RUN chmod 600 /root/.gnupg

RUN mkdir /root/.ssh
RUN chmod 600 /root/.ssh