FROM ubuntu:devel MAINTAINER luki42 ENV PATH=/usr/local/texlive/bin/x86_64-linux:$PATH COPY ./texlive-profile.txt /tmp/ COPY ./debian-equivs.txt /tmp/ # set up packages RUN apt-get update -qq &&\ apt-get install --no-install-recommends -y \ equivs \ wget \ perl \ libfontconfig1 \ && \ \ # Install texlive wget -O /tmp/install-tl-unx.tar.gz http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \ mkdir /tmp/install-tl && \ tar -xzf /tmp/install-tl-unx.tar.gz -C /tmp/install-tl --strip-components=1 && \ /tmp/install-tl/install-tl --profile=/tmp/texlive-profile.txt && \ \ # Install equivalent packages cd /tmp && \ equivs-control texlive-local && \ equivs-build debian-equivs.txt && \ dpkg -i texlive-local*.deb && \ apt-get install -f && \ \ # Clean up tlmgr update --self && \ tlmgr install scheme-full && \ apt-get autoclean && \ apt-get autoremove && \ rm -rf /var/lib/apt/lists/* \ /tmp/* \ /var/tmp/* # Expose /home as workin dir WORKDIR /home VOLUME ["/home"]