From 0a4ec8e3a157da04c143433733b25dfb216c6ee9 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Tue, 11 May 2021 11:09:08 +0200 Subject: [PATCH] updated syncthing --- syncthing/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/syncthing/Dockerfile b/syncthing/Dockerfile index 105c54e..87f3add 100644 --- a/syncthing/Dockerfile +++ b/syncthing/Dockerfile @@ -3,7 +3,7 @@ FROM alpine:3.13 ARG ARCH -ENV VER v1.13.1 +ENV VER v1.16.1 ENV REL syncthing-linux-${ARCH}-${VER} ENV URI https://github.com/syncthing/syncthing/releases/download/${VER}/${REL}.tar.gz @@ -13,11 +13,9 @@ RUN adduser -u 1001 -h /var/lib/syncthing -D syncthing && \ addgroup -S -g 1005 books && addgroup syncthing books && \ addgroup -S -g 1006 buku && addgroup syncthing buku -RUN mkdir -p /data && chown -R syncthing:syncthing /data && \ - mkdir -p /data/books && chown -R syncthing:books /data/books && chmod '2775' /data/books && \ - mkdir -p /data/buku && chown -R syncthing:buku /data/buku && chmod '2775' /data/buku +RUN mkdir -p /data && chown -R syncthing:syncthing /data -VOLUME /data /data/books /data/buku /var/lib/syncthing +VOLUME /data /var/lib/syncthing RUN cd /tmp && \ wget ${URI} && \