Add .cache/duplicity as recommended mount point.

This commit is contained in:
Werner Beroux
2016-02-01 12:05:09 +01:00
parent 81c4db6b3a
commit effacb00d5
2 changed files with 7 additions and 1 deletions

View File

@@ -6,11 +6,13 @@ RUN apk add --update duplicity openssh openssl py-crypto py-pip rsync \
&& rm /var/cache/apk/* \
&& adduser -D -u 1896 duplicity \
&& mkdir -p /home/duplicity/.cache/duplicity \
&& chmod go+rwx /home/duplicity/
&& mkdir -p /home/duplicity/.gnupg \
&& chmod -R go+rwx /home/duplicity/
ENV HOME=/home/duplicity
VOLUME /home/duplicity/.cache/duplicity
VOLUME /home/duplicity/.gnupg
USER duplicity