我正在尝试使用完整的TexLive 2017和latexml制作码头图像,以便将latex编译为pdf并将latex转换为html。 我相信这将是一个有用的乳胶社区工具。 这里是我的dockerfile:使用TexLive 2017和latexml构建码头图像
FROM debian:testing
MAINTAINER Dr Suman Khanal <[email protected]>
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
,而不是建设。 任何帮助我犯了错误?
非常感谢,
网速慢
结果是在https://github.com/sumandoc/TeXLive发布后建设进程崩溃-2017 – koppor