From f364e360fe437e86f92b71a15e3c34ca45695956 Mon Sep 17 00:00:00 2001 From: Luis Moris Fernandez Date: Mon, 27 Jan 2025 11:34:57 +0100 Subject: [PATCH 1/2] Revert "Merge pull request #14 from Boehringer-Ingelheim/include_pdf_latex" This reverts commit aea1c66d858eb7192a2358b06bb7306fb83e8151, reversing changes made to 7820ba09a1af7cd8397a6e812ca22b98f2d641d2. --- scripts/install_sys_deps.sh | 2 -- 1 file changed, 2 deletions(-) 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} From d1127a0ea246707a8349d7a4b79d0c401da99360 Mon Sep 17 00:00:00 2001 From: Luis Moris Fernandez Date: Mon, 27 Jan 2025 15:46:43 +0100 Subject: [PATCH 2/2] link TinyTex binaries to /usr/local/bin --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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