From 7bec0cb39187f6fa448a00a52b63dd884acbfe4b Mon Sep 17 00:00:00 2001 From: Qaiser Abbasi Date: Sat, 3 Dec 2016 19:18:31 +0100 Subject: [PATCH] Create dockerized build --- README.md | 14 ++++++++++++++ generate_cv_with_docker.sh | 3 +++ 2 files changed, 17 insertions(+) create mode 100755 generate_cv_with_docker.sh diff --git a/README.md b/README.md index 92598ed..efa3cd0 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,20 @@ You can see [PDF](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/e ## How to Use +### Using Docker Container + +#### Usage + +Just execute the following line in the root directory of this repository. Voila! + +```bash +$ generate_cv_with_docker.sh +``` + +The resulting cv.pdf can be found in /examples. + +### Using local TeX installation + #### Requirements 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. diff --git a/generate_cv_with_docker.sh b/generate_cv_with_docker.sh new file mode 100755 index 0000000..0c07dc8 --- /dev/null +++ b/generate_cv_with_docker.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +docker run --rm -w "/data/examples" -v "$PWD":/data blang/latex xelatex cv.tex