2023-07-01 16:04:21 +00:00
|
|
|
FROM nextcloud:27
|
2023-06-24 15:18:27 +00:00
|
|
|
|
|
|
|
ENV NEXTCLOUD_UPDATE 1
|
|
|
|
ENV NEXTCLOUD_ADMIN_USER repod
|
|
|
|
ENV NEXTCLOUD_ADMIN_PASSWORD repod
|
|
|
|
ENV SQLITE_DATABASE repod
|
2023-07-01 16:04:21 +00:00
|
|
|
ARG GPODDERSYNC_VERSION 3.8.1
|
2023-06-24 15:18:27 +00:00
|
|
|
|
|
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
|
|
|
|
apt-get install -y nodejs && \
|
|
|
|
/entrypoint.sh true
|
|
|
|
|
|
|
|
USER www-data
|
|
|
|
|
|
|
|
COPY --chown=www-data:www-data . apps/repod
|
2023-07-01 16:04:21 +00:00
|
|
|
RUN curl -sSLo /tmp/gpoddersync.tar.gz https://github.com/thrillfall/nextcloud-gpodder/releases/download/${GPODDERSYNC_VERSION}/gpoddersync.tar.gz && \
|
2023-06-24 15:18:27 +00:00
|
|
|
tar xvzf /tmp/gpoddersync.tar.gz -C apps && \
|
|
|
|
rm /tmp/gpoddersync.tar.gz && \
|
2023-06-24 17:53:53 +00:00
|
|
|
cd apps/repod && make build && cd - && \
|
2023-06-24 15:18:27 +00:00
|
|
|
php occ app:enable gpoddersync repod
|
|
|
|
|
|
|
|
USER root
|