syncthing.yml 306 B

1234567891011
  1. FROM alpine:latest
  2. RUN apk add bash
  3. run apk add gcompat
  4. run apk add shadow
  5. run apk add syncthing
  6. run groupadd -g 1002 storage
  7. run useradd -g storage -u 1114 -s /bin/false -d /home/syncthing storage
  8. COPY syncthing/syncthing.sh /root/
  9. RUN chmod a+x /root/syncthing.sh
  10. CMD ['/bin/bash','/root/syncthing.sh']