diff --git a/Dockerfile b/Dockerfile index 192dc86..28dbbe8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,10 @@ RUN /rocker_scripts/install_R_source.sh && \ COPY scripts /scripts RUN /scripts/install_sys_deps.sh && \ - /scripts/install_r_pkgs.R + /scripts/install_r_pkgs.R + +# TinyTex is installed in /root/.TinyTex and then linked to /root/bin, for it to be found we link to a location found in PATH +RUN ln -s /root/.TinyTeX/bin/*/* /usr/local/bin/ # Cleanup RUN rm -rf /rocker_scripts /scripts diff --git a/scripts/install_sys_deps.sh b/scripts/install_sys_deps.sh index 06a77e9..6db5377 100755 --- a/scripts/install_sys_deps.sh +++ b/scripts/install_sys_deps.sh @@ -8,9 +8,7 @@ lbzip2 \ rsync \ qpdf \ wget \ -texlive-latex-base\ " -# texlive-latex-base because it contains `pdflatex` apt-get update -y # shellcheck disable=SC2086 apt-get install -q -y ${pkgs_to_install}