2019-11-20 16:33:31 +00:00
|
|
|
#FROM owncloud:10.0.4
|
2019-11-20 16:57:53 +00:00
|
|
|
FROM nextcloud:10
|
2019-11-20 16:33:31 +00:00
|
|
|
#FROM nextcloud:12.0.4
|
|
|
|
#FROM nextcloud:13.0.12
|
|
|
|
#FROM nextcloud:16
|
|
|
|
#FROM nextcloud:17
|
2017-07-06 11:04:36 +00:00
|
|
|
|
2019-11-20 16:43:48 +00:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -q -y cron vim && \
|
|
|
|
apt-get clean
|
2017-07-06 11:04:36 +00:00
|
|
|
|
2019-11-20 16:33:31 +00:00
|
|
|
# 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
|
2017-07-06 11:04:36 +00:00
|
|
|
|
2019-11-20 16:33:31 +00:00
|
|
|
# CMD cron && apache2-foreground
|
|
|
|
|
|
|
|
# Mandatory for bookmark extension
|
|
|
|
# but missing from deb packages
|
|
|
|
# RUN apt-get update \
|
|
|
|
# && apt-get install -y php7.3-gmp
|
2017-07-06 11:04:36 +00:00
|
|
|
|