You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
468 B

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