tidying, adding syncthing-utils to install

This commit is contained in:
sparklyballs 2016-08-01 14:28:59 +01:00
parent 259b922ef0
commit 7367e50b57
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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"