selfhost/nextcloud/Dockerfile

17 lines
461 B
Text
Raw Normal View History

ARG NC_MAIN_VERSION
FROM nextcloud:$NC_MAIN_VERSION-fpm
RUN apt-get update && apt-get install -y --no-install-recommends \
imagemagick \
smbclient \
default-jre-headless libreoffice \
ffmpeg \
ocrmypdf tesseract-ocr-deu \
procps \
2024-01-08 19:43:08 +01:00
libbz2-dev bzip2 \
&& rm -rf /var/lib/apt/lists/*
2023-06-16 08:37:08 +02:00
2024-01-08 19:43:08 +01:00
RUN docker-php-ext-install bz2
2023-06-16 08:37:08 +02:00
RUN mkdir -p /var/spool/cron/crontabs; echo '* * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data