posquit0 / Awesome-CV

:page_facing_up: Awesome CV is LaTeX template for your outstanding job application
LaTeX Project Public License v1.3c
22.73k stars 4.75k forks source link

Document using Docker to build #312

Closed rbroggi closed 2 years ago

rbroggi commented 4 years ago

Hi @posquit0 , first of all thank you for the amazing work here. Just wanted to contribute somehow to the repo and something I find myself doing regularly in order to avoid installing packages in my PC is to have docker containers dedicated to the build environment. Specially because my root partition is pretty small compared to my home folder one. Any way, this is a small PR that other users might find usefull. Thanks once again.

Rodrigo

ThabetAmer commented 4 years ago

I use thomasweise image for pdf generation, with no need to rebuild the container, via command: docker run -i -w "/doc" -v "$PWD":/doc thomasweise/texlive make

OJFord commented 2 years ago

Hi @rbroggi, I like this suggestion - could we use the Docker image used in CI though, just for consistency (the one mentioned above by ThabetAmer I believe)?

rbroggi commented 2 years ago

absolutely, will correct it :)

rbroggi commented 2 years ago

Hi @rbroggi, I like this suggestion - could we use the Docker image used in CI though, just for consistency (the one mentioned above by ThabetAmer I believe)?

Done as requested @OJFord . Notice that I also included the --user $(id -u):$(id -g) flag in order to preserve the user permissions of the user executing the command

OJFord commented 2 years ago

Great, many thanks!