From 03cdf84463a0d76999375f49fd682742879430c9 Mon Sep 17 00:00:00 2001 From: Jonathan Berrisch Date: Wed, 2 Oct 2024 12:48:53 +0200 Subject: [PATCH] Fix paths --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0f7ef21..092061d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -128,14 +128,14 @@ ENV PATH="/home/vscode/.local/bin:${PATH}" COPY install_scripts/install_latex.sh /tmp/install_latex.sh COPY package_lists/latex_packages.txt /tmp/latex_packages.txt -RUN chmod +x tmp/install_latex.sh &&\ - tmp/install_latex.sh \ +RUN chmod +x /tmp/install_latex.sh &&\ + /tmp/install_latex.sh \ && export PATH="/usr/local/texlive/bin/x86_64-linux:${PATH}" \ && tlmgr option -- autobackup 0 \ && tlmgr option -- docfiles 0 \ && tlmgr option -- srcfiles 0 \ && tlmgr install \ - $(grep -o '^[^#]*' tmp/latex_packages.txt | tr '\n' ' ') \ + $(grep -o '^[^#]*' /tmp/latex_packages.txt | tr '\n' ' ') \ && chown --recursive $USERNAME:$USERNAME /usr/local/texlive # Set Latex Path @@ -152,8 +152,8 @@ COPY install_scripts/install_r.sh /tmp/install_r.sh COPY package_lists/r_packages.txt /tmp/r_packages.txt COPY package_lists/r_packages_github.txt /tmp/r_packages_github.txt -RUN chmod +x tmp/install_r.sh &&\ - tmp/install_r.sh +RUN chmod +x /tmp/install_r.sh &&\ + /tmp/install_r.sh COPY --chown=$USERNAME .misc/.zshrc /home/$USERNAME/.