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 \ libbz2-dev bzip2 \ && rm -rf /var/lib/apt/lists/* RUN docker-php-ext-install bz2 RUN mkdir -p /var/spool/cron/crontabs; echo '* * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data