Upgrades binaries.

- Alpine 3.3 -> 3.4
  - PyDrive 1.0.1 -> 1.2.1
  - Removes some layers.
This commit is contained in:
Werner Beroux
2016-10-15 01:14:34 +02:00
parent 69654846f4
commit b63b9385b9
2 changed files with 7 additions and 8 deletions
+5 -6
View File
@@ -1,9 +1,9 @@
FROM alpine:3.3
FROM alpine:3.4
RUN apk add --update duplicity openssh openssl py-crypto py-pip rsync \
&& pip install pydrive==1.0.1 \
RUN set -x \
&&apk add --no-cache duplicity openssh openssl py-crypto py-pip rsync \
&& pip install pydrive==1.2.1 \
&& apk del --purge py-pip \
&& rm /var/cache/apk/* \
&& adduser -D -u 1896 duplicity \
&& mkdir -p /home/duplicity/.cache/duplicity \
&& mkdir -p /home/duplicity/.gnupg \
@@ -11,8 +11,7 @@ RUN apk add --update duplicity openssh openssl py-crypto py-pip rsync \
ENV HOME=/home/duplicity
VOLUME /home/duplicity/.cache/duplicity
VOLUME /home/duplicity/.gnupg
VOLUME ["/home/duplicity/.cache/duplicity", "/home/duplicity/.gnupg"]
USER duplicity