summaryrefslogtreecommitdiffstats
path: root/Dockerfile-alpine.template
diff options
context:
space:
mode:
authorTilo Spannagel <development@tilosp.de>2018-02-28 21:13:12 +0100
committerTilo Spannagel <development@tilosp.de>2018-02-28 21:13:12 +0100
commit923f8c434dc702282edfe9eef135bb9f332a8105 (patch)
tree9fb28c7aa00802c85a55fb3a0595543d09072004 /Dockerfile-alpine.template
parent7739cef929d800045689f489ac31ed4cc1ec4ef2 (diff)
Remove the root cron file
Diffstat (limited to 'Dockerfile-alpine.template')
-rw-r--r--Dockerfile-alpine.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template
index 8fecc85f..0e0c6cea 100644
--- a/Dockerfile-alpine.template
+++ b/Dockerfile-alpine.template
@@ -9,7 +9,7 @@ RUN set -ex; \
rsync \
; \
\
- mkdir -p /var/spool/cron/crontabs; \
+ rm /var/spool/cron/crontabs/root; \
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
# install the PHP extensions we need