repod/Dockerfile

26 lines
796 B
Docker
Raw Normal View History

2023-12-23 15:59:31 +00:00
FROM nextcloud:28
2023-06-24 15:18:27 +00:00
ENV NEXTCLOUD_UPDATE 1
ENV NEXTCLOUD_ADMIN_USER repod
ENV NEXTCLOUD_ADMIN_PASSWORD repod
2023-07-02 16:30:42 +00:00
ENV NEXTCLOUD_INIT_HTACCESS 1
2023-06-24 15:18:27 +00:00
ENV SQLITE_DATABASE repod
2023-12-23 15:59:31 +00:00
ENV GPODDERSYNC_VERSION 3.8.2
2023-06-24 15:18:27 +00:00
2023-12-23 17:36:54 +00:00
RUN apt-get update && \
apt-get install -y nodejs npm && \
2023-07-18 19:44:12 +00:00
rm -f /usr/local/etc/php/conf.d/opcache-recommended.ini && \
2023-06-24 15:18:27 +00:00
/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-07-02 22:12:40 +00:00
php occ app:enable gpoddersync repod && \
2023-07-03 14:17:00 +00:00
php occ config:system:set debug --value=true
2023-06-24 15:18:27 +00:00
USER root