1
0
mirror of https://git.cloudron.io/cloudron/syncthing-app synced 2025-01-15 00:31:05 +00:00
syncthing-app/Dockerfile
Renovate Bot 4e9f359eb3 chore(deps): update dependency syncthing/syncthing to v1.29.2
| datasource      | package             | from   | to     |
| --------------- | ------------------- | ------ | ------ |
| github-releases | syncthing/syncthing | 1.29.1 | 1.29.2 |
2025-01-12 16:24:21 +00:00

18 lines
687 B
Docker

FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
RUN mkdir -p /app/code
WORKDIR /app/code
# renovate: datasource=github-releases depName=syncthing/syncthing versioning=semver extractVersion=^v(?<version>.+)$
ARG SYNCTHING_VERSION=1.29.2
RUN wget https://github.com/syncthing/syncthing/releases/download/v${SYNCTHING_VERSION}/syncthing-linux-amd64-v${SYNCTHING_VERSION}.tar.gz -O - | tar -xz -C /app/code --strip-components=1
# add supervisor configs
ADD supervisor/* /etc/supervisor/conf.d/
RUN ln -sf /run/syncthing/supervisord.log /var/log/supervisor/supervisord.log
ADD nginx.conf start.sh /app/code/
CMD [ "/app/code/start.sh" ]