From 7367e50b57dcdca05a559682c6720a81df7d5301 Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Mon, 1 Aug 2016 14:28:59 +0100 Subject: [PATCH] tidying, adding syncthing-utils to install --- Dockerfile | 6 ++++-- root/etc/services.d/syncthing/run | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ae7b9bc..2f27d92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,13 @@ ENV HOME="/config" # install packages RUN \ apk add --no-cache --repository http://nl.alpinelinux.org/alpine/edge/community \ - syncthing + syncthing \ + syncthing-utils + # add local files COPY root/ / # ports and volumes -VOLUME ["/config", "/sync"] EXPOSE 8384 22000 21027/UDP +VOLUME /config /sync diff --git a/root/etc/services.d/syncthing/run b/root/etc/services.d/syncthing/run index 2c15b8a..74da193 100644 --- a/root/etc/services.d/syncthing/run +++ b/root/etc/services.d/syncthing/run @@ -2,4 +2,7 @@ umask 0000 -exec s6-setuidgid abc syncthing -home=/config -no-browser -no-restart --gui-address="0.0.0.0:8384" +exec \ + s6-setuidgid abc syncthing \ + -home=/config -no-browser -no-restart \ + --gui-address="0.0.0.0:8384"