From 059668cb6ac2aa8615070b15db37ae23ad67ebf0 Mon Sep 17 00:00:00 2001 From: Diego Zamboni Date: Wed, 7 Jul 2021 10:29:26 +0200 Subject: [PATCH] Added installs for AwesomeCV We download and install AwesomeCV. Also install the texlive-luatex and fonts-font-awesome, which are needed for AwesomeCV, which only works with XeLaTeX or LuaLaTex. NOTE: these package installs could be moved to the Dockerfile instead of doing them here. --- installs.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/installs.sh b/installs.sh index 698087a..a16134d 100755 --- a/installs.sh +++ b/installs.sh @@ -6,6 +6,9 @@ dpkg -i hugo*.deb echo "Installed Hugo:" hugo version +# These installs could be moved to the Dockerfile +apt-get update && apt-get --no-install-recommends install -y texlive-luatex fonts-font-awesome + # Latex latexdir=/root/texmf/tex/latex mkdir -p $latexdir @@ -15,3 +18,6 @@ unzip -j sections.zip -d $latexdir/AltaCV echo "Install moderncv" wget https://github.com/Titan-C/moderncv/archive/master.zip unzip -j master.zip -d $latexdir/moderncv +echo "Install AwesomeCV" +wget -O awesomecv.zip https://github.com/posquit0/Awesome-CV/archive/refs/heads/master.zip +unzip awesomecv.zip -d $latexdir