Files
redmine/Dockerfile
Roman Vaníček 90c0b8ee4d
All checks were successful
continuous-integration/drone/push Build is passing
FIX Newlines to LF
2023-03-09 17:18:52 +01:00

21 lines
544 B
Docker

FROM redmine:5-bullseye
COPY plugins/ plugins/
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 \
# Clean-up \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache \
# Remove default cron mess \
&& rm -f /etc/cron.daily/* \
&& rm -f /etc/cron.d/* \
# Install plugin dependencies \
&& bundle check || bundle install \
&& chmod +x /pre-entrypoint.sh
ENTRYPOINT ["/pre-entrypoint.sh"]