Source content and build scripts for my résumé.
Before running the build scripts, install and start Docker Desktop.
On Windows, it is RECOMMENDED to configure Docker to use WSL 2, and then run the build commands from WSL in a terminal running under administrator mode. Linux emulators like Git Bash are not sufficient.
The official Asciidoctor Docker container image is used to build my CV and cover letter from AsciiDoc source files. The container image includes Asciidoctor PDF, which does the compilation.
The ./run/pdf.sh
script encapsulates all the build commands.
bash run/pdf.sh
Another way to interact with the builder is to shell into the container and
run the Asciidoctor tools interactively. The following command maps this
repository’s root directory to the /documents
directory inside the container,
and takes you to the container’s shell environment.
docker run -it -v ./:/documents/ asciidoctor/docker-asciidoctor
From the container’s shell environment, run the following commands.
asciidoctor-pdf -D dist src/cv.adoc
asciidoctor-pdf -D dist src/letter.adoc
Type Ctrl
+D
to exit from the container shell.
See the Asciidoctor Docker Container documentation for advanced build commands.
-
AsciiDoc Book Starter, maintained by Liran Tal and others, provided a starting point for the build configuration and PDF theme.
-
AsciiDoc PDF Theming, main reference point.
Copyright © 2020-present Kieran Potts, all rights reserved
The bundled cpdf binary is licensed under the GNU Affero General Public License.