Document using Docker to build (#312)

Closes #312.

Co-Authored-By: Oliver Ford <dev@ojford.com>
This commit is contained in:
rbroggi 2021-11-22 18:15:52 +01:00 committed by Oliver Ford
parent 0a30f65636
commit 91e3981ac5
No known key found for this signature in database
GPG key ID: 15CCFACF010F70D2
4 changed files with 10 additions and 2 deletions

View file

@ -78,9 +78,11 @@ You can see [PDF](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/e
#### Requirements
A full TeX distribution is assumed. [Various distributions for different operating systems (Windows, Mac, \*nix) are available](https://tex.stackexchange.com/q/55437) but TeX Live is recommended.
A full TeX distribution is assumed. [Various distributions for different operating systems (Windows, Mac, \*nix) are available](http://tex.stackexchange.com/q/55437) but TeX Live is recommended.
You can [install TeX from upstream](https://tex.stackexchange.com/q/1092) (recommended; most up-to-date) or use `sudo apt-get install texlive-full` if you really want that. (It's generally a few years behind.)
If you don't want to install the dependencies on your system, this can also be obtained via [Docker](https://docker.com).
#### Usage
At a command prompt, run
@ -89,7 +91,13 @@ At a command prompt, run
$ xelatex {your-cv}.tex
```
This should result in the creation of ``{your-cv}.pdf``
Or using docker:
```bash
$ docker run --rm --user $(id -u):$(id -g) -i -w "/doc" -v "$PWD":/doc thomasweise/texlive make
```
In either case, this should result in the creation of ``{your-cv}.pdf``
## Credit

Binary file not shown.

Binary file not shown.

Binary file not shown.