From 8b00ea6bcb04ba846e043b07956404b3f7e8ea18 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Mon, 6 Jan 2020 18:22:49 +0100 Subject: [PATCH] Do not install cron --- seafile-client/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/seafile-client/Dockerfile b/seafile-client/Dockerfile index 7585c9a..de1e640 100644 --- a/seafile-client/Dockerfile +++ b/seafile-client/Dockerfile @@ -50,8 +50,7 @@ RUN apt-get update && apt-get install -y gnupg && \ --no-install-recommends \ --yes \ seafile-cli \ - oathtool \ - cron && \ + oathtool && \ apt-get clean && apt-get autoclean && \ rm -rf \ /var/log/fsck/*.log \ @@ -60,9 +59,6 @@ RUN apt-get update && apt-get install -y gnupg && \ /var/lib/apt/lists/* \ /import-seafile-apt-key.sh && \ mkdir /volume/ && \ - echo "seafuser" > /etc/cron.allow && \ - echo "*/20 * * * * /bin/bash /home/seafuser/healthcheck.sh" \ - > /var/spool/cron/crontabs/seafuser && \ groupadd -g $GID -o $UNAME && \ useradd -m -u $UID -g $GID -o -s /bin/bash $UNAME