summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Z.M. Gao <gaozm55@gmail.com>2018-08-02 08:59:01 +0800
committerGitHub <noreply@github.com>2018-08-02 08:59:01 +0800
commit27e38d23de2fd9419ccbbacab98b870f047bbdbb (patch)
tree67d9ce250851016b003db1a83bc8d467f9dd389d
parent21db75207d1ee6c52a70e2d81b1ad28e5ce8e9f3 (diff)
downloaddavmail-27e38d23de2fd9419ccbbacab98b870f047bbdbb.tar.gz
davmail-27e38d23de2fd9419ccbbacab98b870f047bbdbb.tar.bz2
davmail-27e38d23de2fd9419ccbbacab98b870f047bbdbb.tar.xz
davmail-27e38d23de2fd9419ccbbacab98b870f047bbdbb.zip
update davmail to 4.8.6
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 8fe565b..0b0ace2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ FROM jeanblanchard/java:8
MAINTAINER James Z.M. Gao <gaozm55@gmail.com>
# Download
-ADD http://downloads.sourceforge.net/project/davmail/davmail/4.8.4/davmail-linux-x86_64-4.8.4-2570.tgz /opt/
+ADD http://downloads.sourceforge.net/project/davmail/davmail/4.8.6/davmail-4.8.6-2600.zip /opt/
COPY content /
# untar file, add a non-root system user
@@ -10,8 +10,8 @@ COPY content /
RUN set -ex \
&& apk --update --no-progress upgrade \
&& cd /opt \
- && tar -xzv -f davmail-linux-x86_64-4.8.4-2570.tgz \
- && mv /opt/davmail-*/* /opt/davmail/ \
+ && mkdir -p davmail \
+ && unzip davmail-4.8.6-2600.zip -d davmail \
&& rm -rf /var/cache/apk/* /tmp/* /opt/davmail-* \
&& adduser -S -u 500 -h /var/lib/davmail davmail \
&& chmod 0644 /etc/davmail/*