FROM cloudron/base:0.10.0 MAINTAINER Syncthing Developers ENV VERSION 0.14.44 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 start.sh /app/code/start.sh CMD [ "/app/code/start.sh" ]