liantze / AltaCV

Yet another alternative curriculum vitae/résumé class with LaTeX
Other
1.27k stars 331 forks source link

Added Docker and Makefile #26

Closed gpcarlos closed 5 years ago

gpcarlos commented 5 years ago

I created a Makefile and a Dockerfile. The Dockerfile builds a Docker with all packages to compile .pdf files that use the class AltaCV. The Makefile makes everything easier. You can build the Docker running make build and create the .pdf running make run.

These are all commands: $ make build: build the docker image $ make bash: run the docker container in the terminal $ make run: run the docker container and generate sample.pdf $ make pdf: generate sample.pdf $ make clean: remove all aux files $ make clean-all: remove all aux and .pdf files

bryant1410 commented 5 years ago

I think it's better to use latexmk rather than creating a new Makefile to compile.

liantze commented 5 years ago

My personal preference is to also use latexmk, and still others prefer arara and rubber. Doubtless there will be other build tools coming along in the future! I think this is helpful to those who use make; nevertheless I don't see a need to merge this into the main repo. Thank you for your contribution!