|
@@ -5,6 +5,7 @@ RUN export version=$(wget -qO- https://api.github.com/repos/syncthing/syncthing/
|
|
wget --quiet -O /tmp/syncthing.tar.gz "https://github.com/syncthing/syncthing/releases/download/${version}/syncthing-linux-amd64-${version}.tar.gz"; \
|
|
wget --quiet -O /tmp/syncthing.tar.gz "https://github.com/syncthing/syncthing/releases/download/${version}/syncthing-linux-amd64-${version}.tar.gz"; \
|
|
wget --quiet -O /tmp/docker-entrypoint.sh "https://raw.githubusercontent.com/syncthing/syncthing/main/script/docker-entrypoint.sh"; \
|
|
wget --quiet -O /tmp/docker-entrypoint.sh "https://raw.githubusercontent.com/syncthing/syncthing/main/script/docker-entrypoint.sh"; \
|
|
mkdir -p /tmp/src/script && tar -zxf /tmp/syncthing.tar.gz -C /tmp/src --strip-components 1; \
|
|
mkdir -p /tmp/src/script && tar -zxf /tmp/syncthing.tar.gz -C /tmp/src --strip-components 1; \
|
|
|
|
+ chmod +x /tmp/docker-entrypoint.sh; \
|
|
mv /tmp/docker-entrypoint.sh /tmp/src/script
|
|
mv /tmp/docker-entrypoint.sh /tmp/src/script
|
|
|
|
|
|
FROM playn/alpine
|
|
FROM playn/alpine
|