aboutsummaryrefslogtreecommitdiff
path: root/Docker/Dockerfile-Oldest
diff options
context:
space:
mode:
authorGravatar Chris Francy <zoredache@users.noreply.github.com> 2021-10-24 08:25:03 -0700
committerGravatar GitHub <noreply@github.com> 2021-10-24 17:25:03 +0200
commit07e00c7681e5fd9e680cba75125b166b96a96198 (patch)
tree724b01fd3e0b135ce56ac2c893f730b5de468973 /Docker/Dockerfile-Oldest
parentc5ab4cea4a773b2d61e2413a955785431517c3ce (diff)
Docker: don't add crontab unless needed. (#3927)
Adding the crontab as part of the image build makes it more complicated to add custom entries to the crontab. Adjusting the image and entrypoint to make it so that the crontab is only added when CRON_MIN is set simplifies having a custom crontab.
Diffstat (limited to 'Docker/Dockerfile-Oldest')
-rw-r--r--Docker/Dockerfile-Oldest2
1 files changed, 1 insertions, 1 deletions
diff --git a/Docker/Dockerfile-Oldest b/Docker/Dockerfile-Oldest
index b54d8bbe7..9762653be 100644
--- a/Docker/Dockerfile-Oldest
+++ b/Docker/Dockerfile-Oldest
@@ -42,7 +42,7 @@ RUN rm -f /etc/apache2/conf.d/languages.conf /etc/apache2/conf.d/info.conf \
touch /var/www/FreshRSS/Docker/env.txt && \
echo "27,57 * * * * . /var/www/FreshRSS/Docker/env.txt; \
su apache -s /bin/sh -c 'php /var/www/FreshRSS/app/actualize_script.php' \
- 2>> /proc/1/fd/2 > /tmp/FreshRSS.log" | crontab -
+ 2>> /proc/1/fd/2 > /tmp/FreshRSS.log" > /var/www/FreshRSS/Docker/crontab.default
ENV COPY_LOG_TO_SYSLOG On
ENV COPY_SYSLOG_TO_STDERR On