repod/Dockerfile
Michel Roux 409bd429eb
All checks were successful
repod / xml (push) Successful in 17s
repod / php (push) Successful in 1m13s
repod / nodejs (push) Successful in 1m59s
repod / release (push) Has been skipped
fix: add sqlite3 to docker dev
2024-01-18 11:19:09 +01:00

23 lines
565 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
RUN apt-get update && \
apt-get install -y nodejs npm sqlite3 && \
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 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