From 217e61d9adc3b5c116fcb5c0684e02e86b32b71a Mon Sep 17 00:00:00 2001 From: yzx9 Date: Tue, 5 Mar 2024 22:55:25 +0800 Subject: [PATCH] Reduce RUN instruction --- ldap-overleaf-sl/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ldap-overleaf-sl/Dockerfile b/ldap-overleaf-sl/Dockerfile index e3c4c25..4b79aad 100644 --- a/ldap-overleaf-sl/Dockerfile +++ b/ldap-overleaf-sl/Dockerfile @@ -21,11 +21,12 @@ RUN npm install -g npm && \ # npm install bcrypt@5.0.0 && \ apt-get update && \ apt-get -y install libxml-libxslt-perl cpanminus libbtparse2 python-pygments && \ + # now install latest texlive2023 from tlmgr + tlmgr update --self --all && \ + tlmgr install scheme-full --verify-repo=none && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -# now install latest texlive2023 from tlmgr -RUN tlmgr update --self --all && \ - tlmgr install scheme-full --verify-repo=none + # latex-bin must be on path to be found in compilation process # needed for biber epstopdf and others ENV PATH="/usr/local/texlive/2023/bin/x86_64-linux:${PATH};"