diff --git a/Dockerfile b/Dockerfile index 0f63938..a4bba89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617 +ARG VERSION 1.2.0 RUN mkdir -p /app/code \ - && wget https://github.com/syncthing/syncthing/releases/download/v1.1.4/syncthing-linux-amd64-v1.1.4.tar.gz -O - \ + && 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