This commit is contained in:
14
Dockerfile
14
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"]
|
||||
Reference in New Issue
Block a user