vn-docker/redmine/Dockerfile

27 lines
687 B
Docker
Raw Permalink Normal View History

2024-07-15 07:40:30 +00:00
FROM redmine:5.1.3-bookworm
2020-12-04 10:16:26 +00:00
2022-10-14 17:42:18 +00:00
ENV REDMINE_PATH=/usr/src/redmine \
REDMINE_LOCAL_PATH=/var/local/redmine
WORKDIR $REDMINE_PATH
2020-12-04 10:16:26 +00:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
2022-10-14 17:42:18 +00:00
unzip cron curl \
2020-12-04 10:16:26 +00:00
&& rm -rf /var/lib/apt/lists/*
COPY plugins/ ./plugins
COPY themes/ ./public/themes
2022-10-14 18:58:49 +00:00
RUN unzip ./plugins/\*.zip -d ./plugins \
&& unzip ./public/themes/\*.zip -d ./public/themes \
&& chmod -R 755 ./plugins/* \
&& rm ./plugins/*.zip \
&& rm ./public/themes/*.zip
2020-12-04 10:16:26 +00:00
2022-10-14 18:31:25 +00:00
COPY entrypoint.sh update-repositories.sh ${REDMINE_LOCAL_PATH}/scripts/
2022-10-14 17:42:18 +00:00
COPY crontab ${REDMINE_LOCAL_PATH}/
ENTRYPOINT ["/var/local/redmine/scripts/entrypoint.sh"]
CMD []