From a349bb8db76f6303998b12d6883897f07be7da1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Van=C3=AD=C4=8Dek?= Date: Thu, 9 Mar 2023 17:05:41 +0100 Subject: [PATCH] FIX shell --- Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2cbd4fd..3d7682f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,16 +6,16 @@ COPY pre-entrypoint.sh /pre-entrypoint.sh ENV REDMINE_SEND_REMINDERS_DAYS=0 \ REDMINE_SEND_REMINDERS_CRON_EXPR="0 7 * * 1-5" -RUN apt-get update && \ - apt-get install -y cron && \ +RUN apt-get update \ + && apt-get install -y cron \ # Clean-up \ && apt-get clean \ - && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache && \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache \ # Remove default cron mess \ - rm -f /etc/cron.daily/* && \ - rm -f /etc/cron.d/* && \ + && rm -f /etc/cron.daily/* \ + && rm -f /etc/cron.d/* \ # Install plugin dependencies \ - bundle check || bundle install && \ - chmod +x /pre-entrypoint.sh + && bundle check || bundle install \ + && chmod +x /pre-entrypoint.sh ENTRYPOINT ["/pre-entrypoint.sh"] \ No newline at end of file