Dockerfile 805 B

12345678910111213141516171819202122232425
  1. FROM sharelatex/sharelatex:5.5.2
  2. # ../../bin/import_pr_patch.sh 27147 27173 27230 27240 27249 27257 27273 27397
  3. # Remove CE tests
  4. # Remove tests
  5. # Remove cloudbuild changes
  6. # Remove SaaS changes
  7. # Fixup package.json and toolbar-items.tsx
  8. # Fix cron paths
  9. COPY *.patch .
  10. RUN bash -ec 'for p in *.patch; do echo "=== Applying $p ==="; patch -p1 < "$p" && rm $p; done' \
  11. && npm audit --audit-level=high \
  12. && node genScript compile | bash \
  13. && npm prune --omit=dev \
  14. && apt remove -y linux-libc-dev
  15. # ../../bin/import_pr_patch.sh 27476
  16. # Remove tests
  17. # Remove SaaS changes
  18. COPY pr_27476.patch-stage-2 .
  19. RUN patch -p1 < pr_27476.patch-stage-2 && rm pr_27476.patch-stage-2
  20. # Extra tweaks to output
  21. COPY pr_27397.patch-stage-2 .
  22. RUN patch -p1 < pr_27397.patch-stage-2 && rm pr_27397.patch-stage-2