Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
BerriJ committed Oct 2, 2024
1 parent bd6fcda commit 03cdf84
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/.

Expand Down

0 comments on commit 03cdf84

Please sign in to comment.