mirror of
https://git.cloudron.io/cloudron/syncthing-app
synced 2025-09-25 06:17:34 +00:00
First version
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM cloudron/base:0.10.0
|
||||
MAINTAINER Syncthing Developers <support@cloudron.io>
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
RUN apt-get update && apt-get -y install busybox
|
||||
|
||||
ENV VERSION 0.14.27
|
||||
|
||||
RUN mkdir -p /app/code \
|
||||
&& wget https://github.com/syncthing/syncthing/releases/download/v${VERSION}/syncthing-linux-amd64-v${VERSION}.tar.gz -O - \
|
||||
| tar -xz -C /app/code --strip-components=1
|
||||
|
||||
WORKDIR /app/code
|
||||
|
||||
ADD config.xml /app/code/config.xml.default
|
||||
ADD inittab /etc/inittab
|
||||
ADD start.sh /app/code/start.sh
|
||||
|
||||
CMD [ "/app/code/start.sh" ]
|
Reference in New Issue
Block a user