repod/Dockerfile
Michel Roux 323c9f9cf7
All checks were successful
repod / nextcloud (push) Successful in 1m2s
repod / xml (push) Successful in 22s
repod / nodejs (push) Successful in 1m53s
use internal node in nc docker image
2023-12-23 17:36:54 +00:00

26 lines
796 B
Docker

FROM nextcloud:28
ENV NEXTCLOUD_UPDATE 1
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 && \
rm -f /usr/local/etc/php/conf.d/opcache-recommended.ini && \
/entrypoint.sh true
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 && \
php occ config:system:set debug --value=true
USER root