From 8045dadf9f8a8216a479ae534ab83bf05fa746ba Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Thu, 18 Jan 2024 11:06:51 +0100 Subject: [PATCH] fix: install gpodder directly on docker without downloading first --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b2f4d3..5adbfaf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ ENV NEXTCLOUD_ADMIN_USER repod ENV NEXTCLOUD_ADMIN_PASSWORD repod ENV NEXTCLOUD_INIT_HTACCESS 1 ENV SQLITE_DATABASE repod -ENV GPODDERSYNC_VERSION 3.8.2 RUN apt-get update && \ apt-get install -y nodejs npm && \ @@ -15,11 +14,9 @@ RUN apt-get update && \ USER www-data COPY --chown=www-data:www-data . apps/repod -RUN curl -sSLo /tmp/gpoddersync.tar.gz https://github.com/thrillfall/nextcloud-gpodder/releases/download/${GPODDERSYNC_VERSION}/gpoddersync.tar.gz && \ - tar xvzf /tmp/gpoddersync.tar.gz -C apps && \ - rm /tmp/gpoddersync.tar.gz && \ - cd apps/repod && make build && cd - && \ - php occ app:enable gpoddersync repod && \ +RUN cd apps/repod && make build && cd - && \ + php occ app:install gpoddersync && \ + php occ app:enable repod && \ php occ config:system:set debug --value=true USER root