formbio / laava

LAAVA: Long-read AAV Analysis
MIT License
5 stars 0 forks source link

Separate container and code path for PDF generation #23

Closed etal closed 4 weeks ago

etal commented 1 month ago

PDF generation through Rmarkdown/pandoc requires pdflatex from the texlive distribution, which is large and includes the AGPL-licensed ghostscript.

Create separate Docker images for LAAVA with and without texlive/pdflatex. Use the former for generating PDF reports, and the latter for everything else. Ensure that the LAAVA workflow can be run end-to-end to generate an HTML report without pulling in texlive.

Relates to #16.

etal commented 4 weeks ago

The easier solution is to just remove those dependencies from the original Docker image when building it; they're not hard requirements for Rmarkdown's PDF generation. That's done in this commit, on PR #28.