minted is broken: You must have `pygmentize' installed to use this package

Since you updated the image yesterday, minted is broken for me. I get this error when building with latexmk:

Package csquotes Info: Adjusting default style.
Package csquotes Info: Redefining alias 'default' -> 'english'.
runsystem(which pygmentize && touch thesis.aex)...executed.



! Package minted Error: You must have `pygmentize' installed to use this packag
e.

See the minted package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.76 \begin{document}
                     
? 
! Emergency stop.
 ...

I use this command: latexmk -pdflatex="pdflatex --shell-escape %O %S" --pdf main.tex

I checked your Dockerfile, which looks fine to me. I can not look at the build logs on dockerhub, maybe there is something which went wrong.

Thank you for the otherwise awesome image.

Update

I found a potential fix: It seams like the maintainers at debian removed the wrapper /usr/bin/pygmentize from the package python-pygments, but it is now available in python3-pygments. I see if this fixes the problem and open a Pull Request on GitHub, if successful.

Update 2

Indeed this simple change fixed everything. Pull Request now opened at https://github.com/aergus/dockerfiles/pull/5

Edited by Philipp Stehle