J'essaye de faire une image de docker avec TexLive 2017 plein et latexml pour compiler le latex au pdf et convertir également le latex en HTML. Je crois que ce serait un outil utile pour la communauté latex. Voici mon dockerfile:Image de docker de construction avec TexLive 2017 et 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"]
Mais son lancer cette erreur 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
et non la construction. Toute aide où j'ai fait une erreur?
Un grand merci,
Suman
Le résultat est publié à https://github.com/sumandoc/TeXLive -2017 – koppor