|
|
@@ -1,13 +1,13 @@
|
|
|
-FROM arm32v7/nextcloud:13.0.2
|
|
|
+FROM arm32v7/nextcloud:14.0.0
|
|
|
|
|
|
LABEL Description="Official nextcloud arm32v7 image for rpi with cron configured."
|
|
|
|
|
|
-COPY ./entrypoint.sh /
|
|
|
+COPY ./rpi-entrypoint.sh /
|
|
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends cron && \
|
|
|
(crontab -u www-data -l 2>/dev/null; echo "*/15 * * * * /usr/local/bin/php -f /var/www/html/cron.php") | crontab -u www-data - && \
|
|
|
crontab -u www-data -l | grep -v '* php' | crontab -u www-data -
|
|
|
|
|
|
-ENTRYPOINT ["/entrypoint.sh"]
|
|
|
+ENTRYPOINT ["/rpi-entrypoint.sh"]
|
|
|
CMD ["apache2-foreground"]
|
|
|
|