Documenter.jl
Documenter.jl copied to clipboard
Support Podman containers for building LaTeX/PDFs
Awesome work on Documenter.jl,
Using docker could be difficult due to root, so could it be possible to add Podman platform as an alternative to docker in LatexWriter.jl:
compile_tex(doc::Documents.Document, settings::LaTeX, fileprefix::String) from Documenter.jl/src/Writers/LaTeXWriter.jl
https://github.com/JuliaDocs/Documenter.jl/blob/2bcc94cbba6de049dc53d6ee453a301fe474ead2/src/Writers/LaTeXWriter.jl#L58
https://github.com/JuliaDocs/Documenter.jl/blob/2bcc94cbba6de049dc53d6ee453a301fe474ead2/src/Writers/LaTeXWriter.jl#L200
Regards
I am not familiar with Podman, but the interface emulates Docker? Happy to take a PR if there is interest in this. It should be easy enough to support it. Any ideas if it's easy to run Podman on GitHub Actions?
Podman takes the same terminal commands as Docker, so only small modifications is required. I do not know if Podman runs on GitHub Actions, as I am not so familiar with Github (and never push PR). I am very interested in being more competent on this. If you accept it, I can have a look on github actions and then submit a PR in order to support Podman. Regards
It actually looks like it might be preinstalled on the Ubuntu images. By the way, can Podman reuse the Docker image we have?
It actually looks like it might be preinstalled on the Ubuntu images. By the way, can Podman reuse the Docker image we have?
For some weird reason, trying to pull the juliadocs/documenter-latex image fails but works with others
you could try with the tag: docker pull juliadocs/documenter-latex:0.1
that works. weird xD
you could try with the tag: docker pull juliadocs/documenter-latex:0.1
I am going try reading the code base next week if I have the time to probably add support for this. I also have another project for my Julia learnings too called Podman.jl in codeberg and I think that will help me learn both docker and podman 😄