- Install Docker
- Install Vscode LaTeX workshop extension
docker build . --file Dockerfile --tag fungiwnl/tex
- Add the following to your Vscode config
{
"latex-workshop.docker.enabled": true,
"latex-workshop.latex.outDir": "./out",
"latex-workshop.synctex.afterBuild.enabled": true,
"latex-workshop.view.pdf.viewer": "tab",
"latex-workshop.docker.image.latex": "fungiwnl/tex",
}
And then you can build a LaTeX file by clicking on the build icon.
docker run \
--volume $(pwd):/tmp \
fungiwnl/tex \
pdflatex cv.tex
- Create a new project in Overleaf.
- Copy cv.tex into your project.
- Edit cv.tex with your information.
- Click Recompile and download your generated PDF.
- The provided dockerfile uses the full
texfull-livebehemoth, so the docker image is 4GBs. Ideally, we have a minimal dependency docker image compiling the tex. - GitHub Container Registry caching. The docker image is building from scratch everytime, so it takes a good 10 minutes long.
Credit to dphang for the template