Dockerfile 533 B

12345678910111213
  1. FROM sharelatex/sharelatex:2.5.0
  2. # Patch #826: Fixes log path for contacts service to be picked up by logrotate
  3. COPY contacts-run.patch /etc/service/contacts-sharelatex
  4. RUN cd /etc/service/contacts-sharelatex && patch < contacts-run.patch
  5. # Patch #826: delete old logs for the contacts service
  6. COPY delete-old-logs.patch /etc/my_init.d
  7. RUN cd /etc/my_init.d && patch < delete-old-logs.patch \
  8. && chmod +x /etc/my_init.d/10_delete_old_logs.sh
  9. # Patch #827: fix logrotate file permissions
  10. RUN chmod 644 /etc/logrotate.d/sharelatex