This commit is contained in:
Juan Ferrer 2022-10-14 20:58:49 +02:00
parent 05ebb5e12d
commit 7d8f083d2e
2 changed files with 8 additions and 6 deletions

View File

@ -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}/

View File

@ -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