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