From def7b5556062b395850d413295520c52d7a05d98 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Tue, 5 May 2020 10:51:50 +0200 Subject: [PATCH] Use new base image --- Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index a1afefd..0b54020 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,16 @@ -FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617 +FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4 ARG VERSION=1.4.2 -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 +RUN mkdir -p /app/code WORKDIR /app/code +RUN 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 + # add supervisor configs ADD supervisor/* /etc/supervisor/conf.d/ RUN ln -sf /run/syncthing/supervisord.log /var/log/supervisor/supervisord.log -ADD nginx.conf /app/code/nginx.conf -ADD start.sh /app/code/start.sh +ADD nginx.conf start.sh /app/code/ CMD [ "/app/code/start.sh" ]