Files
docker-duplicity/Dockerfile
Werner Beroux de9615170f Upgrades Alpine (and duplicity to 0.7.11 and more).
Previous version was 0.7.07.1.

This fixes issue #7
2018-01-08 10:49:38 +01:00

29 lines
618 B
Docker

FROM alpine:3.6
RUN set -x \
&& apk add --no-cache \
ca-certificates \
duplicity \
openssh \
openssl \
py-crypto \
py-pip \
py-paramiko \
py-setuptools \
rsync \
&& update-ca-certificates \
&& pip install pydrive==1.3.1 \
&& apk del --purge py-pip \
&& adduser -D -u 1896 duplicity \
&& mkdir -p /home/duplicity/.cache/duplicity \
&& mkdir -p /home/duplicity/.gnupg \
&& chmod -R go+rwx /home/duplicity/
ENV HOME=/home/duplicity
VOLUME ["/home/duplicity/.cache/duplicity", "/home/duplicity/.gnupg"]
USER duplicity
CMD ["duplicity"]