2018-03-11 15:42:07 +00:00
|
|
|
#FROM owncloud:10.0.4
|
2018-03-11 15:42:49 +00:00
|
|
|
FROM nextcloud:12.0.5
|
2017-07-06 11:04:36 +00:00
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -q -y cron && \
|
|
|
|
apt-get clean
|
|
|
|
|
|
|
|
RUN echo "*/15 * * * * root su -l www-data -s /bin/bash -c 'php -f /var/www/html/cron.php' > /dev/null 2>&1" >> /etc/crontab
|
|
|
|
|
|
|
|
CMD cron && apache2-foreground
|
|
|
|
|