Skip to content

fix perms on tmp directory #40

Merged
merged 1 commit into from
Dec 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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