1
0
mirror of https://git.cloudron.io/cloudron/syncthing-app synced 2025-01-15 08:41:04 +00:00
syncthing-app/Dockerfile

18 lines
687 B
Docker
Raw Normal View History

2023-10-11 09:48:06 +05:30
FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
2017-05-05 13:19:38 +02:00
2020-05-05 10:51:50 +02:00
RUN mkdir -p /app/code
2017-05-05 13:19:38 +02:00
WORKDIR /app/code
2024-11-11 16:47:17 +00:00
# renovate: datasource=github-releases depName=syncthing/syncthing versioning=semver extractVersion=^v(?<version>.+)$
ARG SYNCTHING_VERSION=1.29.1
2021-04-06 09:51:16 +02:00
2024-11-11 16:47:17 +00:00
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
2020-05-05 10:51:50 +02:00
2018-02-26 16:28:45 -08:00
# add supervisor configs
ADD supervisor/* /etc/supervisor/conf.d/
RUN ln -sf /run/syncthing/supervisord.log /var/log/supervisor/supervisord.log
2020-05-05 10:51:50 +02:00
ADD nginx.conf start.sh /app/code/
2017-05-05 13:19:38 +02:00
CMD [ "/app/code/start.sh" ]