blang / latex-docker

Docker-based latex compilation
MIT License
585 stars 146 forks source link

build error: tlmgr not found #25

Open mdavis-xyz opened 5 years ago

mdavis-xyz commented 5 years ago

Steps to reproduce:

  1. clone repo
  2. cd into it
  3. sudo docker build -t latex .

expected result

Build completes without error

actual result

Step 9/10 : RUN tlmgr install latexmk
 ---> Running in cfb0b64790c9
/bin/sh: 1: tlmgr: not found
The command '/bin/sh -c tlmgr install latexmk' returned a non-zero code: 127
mdavis-xyz commented 5 years ago

This is with Dockerfile.basic

lsk567 commented 5 years ago

The Dockerfile is outdated. You can fix it by simply going into the Dockerfile and change ENV PATH="/usr/local/texlive/2017/bin/x86_64-linux:${PATH}" to ENV PATH="/usr/local/texlive/2019/bin/x86_64-linux:${PATH}".

cep21 commented 5 years ago

Will this break again in 2020? What is the rational of putting a year in the path and how do I best lock this down?

lsb commented 4 years ago

I'm still seeing this as of October 2019.

rugk commented 4 years ago

@blang Can you maybe update the repo/dockerfile here?