用TexLive 2017和latexml构builddocker图像

我正在尝试使用完整的TexLive 2017和latexml来制作一个docker图像,以便将latex编译为pdf,并将latex转换为html。 我相信这将是一个有益的乳胶社区的工具。 这是我的dockerfile:

FROM debian:testing MAINTAINER Dr Suman Khanal <suman81765@gmail.com> LABEL updated_at '2017-07-26' RUN apt-get update \ && apt-get install -y gnupg git wget curl libgetopt-long-descriptive-perl libdigest-perl-md5-perl python python-pygments WORKDIR /usr/local/src RUN curl -sL http://mirror.utexas.edu/ctan/systems/texlive/tlnet/install-tl-unx.tar.gz | tar zxf - && mv install-tl-20* install-tl WORKDIR install-tl RUN echo "selected_scheme scheme-full" > profile \ && ./install-tl -repository http://mirror.utexas.edu/ctan/systems/texlive/tlnet -profile profile WORKDIR / ENV PATH /usr/local/texlive/2017/bin/x86_64-linux:$PATH RUN apt-get install -y libarchive-zip-perl \ libfile-which-perl libimage-size-perl \ libio-string-perl libjson-xs-perl libtext-unidecode-perl \ libparse-recdescent-perl liburi-perl libuuid-tiny-perl libwww-perl \ libxml2 libxml-libxml-perl libxslt1.1 libxml-libxslt-perl \ imagemagick libimage-magick-perl RUN git clone https://github.com/brucemiller/LaTeXML.git && cd LaTeXML && perl Makefile.PL && make && make install CMD ["tlmgr", "--version"] 

但是它抛出这个错误Build failed: The command '/bin/sh -c git clone https://github.com/brucemiller/LaTeXML.git && cd LaTeXML && perl Makefile.PL && make && make install' returned a non-zero code: 127而不是build筑物。 任何帮助,我犯了错误?

非常感谢,

苏曼

你缺lessmake可执行文件( apt-get install make ),所以在perl Makefile.PL之后构build进程崩溃