Upgrades Alpine (and duplicity to 0.7.13.1 and above).

Fixes issue #7.
This commit is contained in:
Werner Beroux
2018-01-08 10:55:50 +01:00
parent de9615170f
commit e6c67bab2d

View File

@@ -1,4 +1,6 @@
FROM alpine:3.6 FROM alpine:3.7
ENV HOME=/home/duplicity
RUN set -x \ RUN set -x \
&& apk add --no-cache \ && apk add --no-cache \
@@ -12,14 +14,15 @@ RUN set -x \
py-setuptools \ py-setuptools \
rsync \ rsync \
&& update-ca-certificates \ && update-ca-certificates \
&& pip install pydrive==1.3.1 \ && pip install \
pydrive==1.3.1 \
fasteners==0.14.1 \
&& apk del --purge py-pip \ && apk del --purge py-pip \
&& adduser -D -u 1896 duplicity \ && adduser -D -u 1896 duplicity \
&& mkdir -p /home/duplicity/.cache/duplicity \ && mkdir -p /home/duplicity/.cache/duplicity \
&& mkdir -p /home/duplicity/.gnupg \ && mkdir -p /home/duplicity/.gnupg \
&& chmod -R go+rwx /home/duplicity/ && chmod -R go+rwx /home/duplicity/ \
&& su - duplicity -c 'duplicity --version'
ENV HOME=/home/duplicity
VOLUME ["/home/duplicity/.cache/duplicity", "/home/duplicity/.gnupg"] VOLUME ["/home/duplicity/.cache/duplicity", "/home/duplicity/.gnupg"]