← Back to context

Comment by aleksiy123

3 years ago

Docker to build a book is definitely something new. Not that it doesn't make some sense just something I've never seen.

This feels pretty clever. I totally imagine wanting to regenerate this book 20 years from now, and there will be no way to run that natively on a modern computer.

Not sure if Docker itself will still be around or the dependencies will be available, but at least that's a clear build target and there's a fighting chance it will still somewhat work.

I was wondering about that. It's using texlive-full, which requires several gigabytes to install and is, for me at least, always the longest step when setting up a new (Linux) computer. It can also make sure to have reproducible builds, which I don't think there is a Latex-native solution for. Or is there a better approach?

  • I don’t think there is. I’ve compiled books in LaTeX and in Pandoc, nothing but regret filled my veins afterwards. Installing those dependencies is just a terrible experience.

    Leave it in Docker to save people the hassle.