RePod-Nextcloud-App/Dockerfile

26 lines
835 B
Docker
Raw Normal View History

2023-07-01 18:04:21 +02:00
FROM nextcloud:27
2023-06-24 17:18:27 +02:00
ENV NEXTCLOUD_UPDATE 1
ENV NEXTCLOUD_ADMIN_USER repod
ENV NEXTCLOUD_ADMIN_PASSWORD repod
2023-07-02 18:30:42 +02:00
ENV NEXTCLOUD_INIT_HTACCESS 1
2023-06-24 17:18:27 +02:00
ENV SQLITE_DATABASE repod
2023-07-01 18:06:54 +02:00
ENV GPODDERSYNC_VERSION 3.8.1
2023-06-24 17:18:27 +02:00
2023-07-18 21:44:12 +02:00
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
2023-06-24 17:18:27 +02:00
apt-get install -y nodejs && \
2023-07-18 21:44:12 +02:00
rm -f /usr/local/etc/php/conf.d/opcache-recommended.ini && \
2023-06-24 17:18:27 +02:00
/entrypoint.sh true
USER www-data
COPY --chown=www-data:www-data . apps/repod
2023-07-01 18:04:21 +02:00
RUN curl -sSLo /tmp/gpoddersync.tar.gz https://github.com/thrillfall/nextcloud-gpodder/releases/download/${GPODDERSYNC_VERSION}/gpoddersync.tar.gz && \
2023-06-24 17:18:27 +02:00
tar xvzf /tmp/gpoddersync.tar.gz -C apps && \
rm /tmp/gpoddersync.tar.gz && \
2023-06-24 19:53:53 +02:00
cd apps/repod && make build && cd - && \
2023-07-03 00:12:40 +02:00
php occ app:enable gpoddersync repod && \
2023-07-03 16:17:00 +02:00
php occ config:system:set debug --value=true
2023-06-24 17:18:27 +02:00
USER root