Files
docker-duplicity/Dockerfile
a.fittkau a7eb94b592 Also adding missing dependency py-setuptools
* It seemed like there was some internal dependency on the pkg_resources module which is supplied by the setuptools package
2017-03-24 11:48:40 +01:00

29 lines
618 B
Docker

FROM alpine:3.5
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"]