|
|
@@ -1,10 +1,10 @@
|
|
|
-FROM arm32v7/nextcloud:13.0.0
|
|
|
+FROM arm32v7/nextcloud:13.0.2
|
|
|
|
|
|
LABEL Description="Official nextcloud arm32v7 image for rpi with cron configured."
|
|
|
|
|
|
-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 - && \
|
|
|
- service cron start
|
|
|
+COPY ./entrypoint.sh /
|
|
|
+
|
|
|
+RUN apt-get update && apt-get install -y --no-install-recommends cron
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
CMD ["apache2-foreground"]
|