The config goes in `/var/syncthing/config`, now that we're using the actual Docker image, and the pid/gid need to be updated as wellpull/2/head
parent
b43bc57c6b
commit
0c42a169cf
@ -1,14 +0,0 @@
|
||||
FROM armhf/alpine
|
||||
|
||||
RUN apk update && apk upgrade && \
|
||||
apk add curl
|
||||
|
||||
RUN curl --location --remote-name https://github.com/syncthing/syncthing/releases/download/v1.3.2/syncthing-linux-arm-v1.3.2.tar.gz && \
|
||||
tar xvz < syncthing-linux-arm-v1.3.2.tar.gz && \
|
||||
mv syncthing-linux-arm-v1.3.2/syncthing /usr/sbin && \
|
||||
mkdir /etc/syncthing
|
||||
|
||||
RUN adduser -D syncthing
|
||||
USER syncthing
|
||||
|
||||
ENTRYPOINT [ "syncthing", "-gui-address=0.0.0.0:8384", "-home=/etc/syncthing" ]
|
Loading…
Reference in new issue