refs #4572
This commit is contained in:
parent
05ebb5e12d
commit
7d8f083d2e
|
@ -13,12 +13,11 @@ RUN apt-get update \
|
||||||
COPY plugins/ ./plugins
|
COPY plugins/ ./plugins
|
||||||
COPY themes/ ./public/themes
|
COPY themes/ ./public/themes
|
||||||
|
|
||||||
RUN unzip ./plugins/\*.zip -d ./plugins
|
RUN unzip ./plugins/\*.zip -d ./plugins \
|
||||||
RUN unzip ./public/themes/\*.zip -d ./public/themes
|
&& unzip ./public/themes/\*.zip -d ./public/themes \
|
||||||
RUN chmod -R 755 ./plugins/*
|
&& chmod -R 755 ./plugins/* \
|
||||||
|
&& rm ./plugins/*.zip \
|
||||||
RUN rm ./plugins/*.zip
|
&& rm ./public/themes/*.zip
|
||||||
RUN rm ./public/themes/*.zip
|
|
||||||
|
|
||||||
COPY entrypoint.sh update-repositories.sh ${REDMINE_LOCAL_PATH}/scripts/
|
COPY entrypoint.sh update-repositories.sh ${REDMINE_LOCAL_PATH}/scripts/
|
||||||
COPY crontab ${REDMINE_LOCAL_PATH}/
|
COPY crontab ${REDMINE_LOCAL_PATH}/
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
mkdir -p /var/local/redmine/repositories
|
||||||
|
chown redmine:redmine /var/local/redmine/repositories
|
||||||
|
|
||||||
/usr/sbin/cron
|
/usr/sbin/cron
|
||||||
crontab -u root /var/local/redmine/crontab
|
crontab -u root /var/local/redmine/crontab
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue