Skip to content

Commit

Permalink
Merge pull request #40 from internet2/comanage-cron
Browse files Browse the repository at this point in the history
fix perms on tmp directory
  • Loading branch information
chubing authored Dec 9, 2020
2 parents 1f8c0e4 + 02e1c6d commit 8c3bcdb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Workbench/comanage_cron/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ LABEL Version=$version
ENV VERSION=$version

COPY container_files/system/runcomangejob.sh /usr/local/bin/
COPY --chown=root:root container_files/system/root-crontab /usr/local/etc
RUN chmod 755 /usr/local/bin/runcomangejob.sh
COPY --chown=www-data:www-data container_files/system/root-crontab /usr/local/etc
RUN chmod 755 /usr/local/bin/runcomangejob.sh && \
mkdir -p /srv/comanage-registry/app/tmp && \
chown -R www-data:www-data /srv/comanage-registry/app/tmp
#&& \
# /usr/bin/crontab -u root /usr/local/etc/root-crontab

Expand Down

0 comments on commit 8c3bcdb

Please sign in to comment.