based on alpine linux - no apt
This commit is contained in:
		@@ -1,42 +1,22 @@
 | 
				
			|||||||
FROM ubuntu:devel
 | 
					FROM alpine:latest
 | 
				
			||||||
MAINTAINER luki42
 | 
					MAINTAINER luki42
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ENV PATH=/usr/local/texlive/bin/x86_64-linux:$PATH
 | 
					ENV PATH=/usr/local/texlive/bin/x86_64-linuxmusl:$PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY ./texlive-profile.txt /tmp/
 | 
					COPY ./texlive-profile.txt /tmp/
 | 
				
			||||||
COPY ./debian-equivs.txt /tmp/
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# set up packages
 | 
					RUN apk add --no-cache perl wget && \
 | 
				
			||||||
RUN apt-get update -qq &&\
 | 
					 | 
				
			||||||
    apt-get install --no-install-recommends -y \
 | 
					 | 
				
			||||||
      equivs \
 | 
					 | 
				
			||||||
      wget \
 | 
					 | 
				
			||||||
      perl \
 | 
					 | 
				
			||||||
      libfontconfig1 \
 | 
					 | 
				
			||||||
    && \
 | 
					 | 
				
			||||||
    \
 | 
					    \
 | 
				
			||||||
    # Install texlive
 | 
					    # Install texlive
 | 
				
			||||||
 | 
					    echo "downloading tlmgr" && \
 | 
				
			||||||
    wget -O /tmp/install-tl-unx.tar.gz http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \
 | 
					    wget -O /tmp/install-tl-unx.tar.gz http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \
 | 
				
			||||||
    mkdir /tmp/install-tl && \
 | 
					    mkdir /tmp/install-tl && \
 | 
				
			||||||
    tar -xzf /tmp/install-tl-unx.tar.gz -C /tmp/install-tl --strip-components=1 && \
 | 
					    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 && \
 | 
					    /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
 | 
					    # Clean up
 | 
				
			||||||
    apt-get autoclean && \
 | 
					    rm -rf /tmp/* \
 | 
				
			||||||
    apt-get autoremove && \
 | 
					           /var/tmp/*
 | 
				
			||||||
    rm -rf /var/lib/apt/lists/* \
 | 
					 | 
				
			||||||
           /tmp/* \
 | 
					 | 
				
			||||||
           /var/tmp/* && \
 | 
					 | 
				
			||||||
    tlmgr update --self && \
 | 
					 | 
				
			||||||
    tlmgr install scheme-full
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Expose /home as workin dir
 | 
					# Expose /home as workin dir
 | 
				
			||||||
WORKDIR /home
 | 
					WORKDIR /home
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,40 +0,0 @@
 | 
				
			|||||||
Section: misc
 | 
					 | 
				
			||||||
Priority: optional
 | 
					 | 
				
			||||||
Standards-Version: 4.1.4
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Package: texlive-local
 | 
					 | 
				
			||||||
Version: 1.0-rolling
 | 
					 | 
				
			||||||
Maintainer: adin <adin@ic.unicamp.br>
 | 
					 | 
				
			||||||
Provides: chktex, biblatex, biblatex-dw, cm-super, cm-super-minimal, context, 
 | 
					 | 
				
			||||||
 dvidvi, dvipng, feynmf, fragmaster, jadetex, lacheck, latex-beamer, 
 | 
					 | 
				
			||||||
 latex-cjk-all, latex-cjk-chinese, latex-cjk-chinese-arphic-bkai00mp, 
 | 
					 | 
				
			||||||
 latex-cjk-chinese-arphic-bsmi00lp, latex-cjk-chinese-arphic-gbsn00lp, 
 | 
					 | 
				
			||||||
 latex-cjk-chinese-arphic-gkai00mp, latex-cjk-common, latex-cjk-japanese, 
 | 
					 | 
				
			||||||
 latex-cjk-japanese-wadalab, latex-cjk-korean, latex-cjk-thai, latexdiff, 
 | 
					 | 
				
			||||||
 latexmk, latex-sanskrit, latex-xcolor, lcdf-typetools, lmodern, luatex, 
 | 
					 | 
				
			||||||
 musixtex, passivetex, pgf, preview-latex-style, prosper, ps2eps, psutils, 
 | 
					 | 
				
			||||||
 purifyeps, t1utils, tex4ht, tex4ht-common, tex-gyre, texlive, texlive-base, 
 | 
					 | 
				
			||||||
 texlive-bibtex-extra, texlive-binaries, texlive-common, texlive-extra-utils,
 | 
					 | 
				
			||||||
 texlive-fonts-extra, texlive-fonts-extra-doc, texlive-fonts-recommended,
 | 
					 | 
				
			||||||
 texlive-fonts-recommended-doc, texlive-font-utils, texlive-formats-extra,
 | 
					 | 
				
			||||||
 texlive-games, texlive-generic-extra, texlive-generic-recommended,
 | 
					 | 
				
			||||||
 texlive-humanities, texlive-humanities-doc, texlive-lang-african,
 | 
					 | 
				
			||||||
 texlive-lang-all, texlive-lang-arabic, texlive-lang-cjk, texlive-lang-cyrillic,
 | 
					 | 
				
			||||||
 texlive-lang-czechslovak, texlive-lang-english, texlive-lang-european,
 | 
					 | 
				
			||||||
 texlive-lang-japanese, texlive-lang-chinese, texlive-lang-korean,
 | 
					 | 
				
			||||||
 texlive-lang-french, texlive-lang-german, texlive-lang-greek, 
 | 
					 | 
				
			||||||
 texlive-lang-indic, texlive-lang-italian, texlive-lang-other, 
 | 
					 | 
				
			||||||
 texlive-lang-polish, texlive-lang-portuguese, texlive-lang-spanish,
 | 
					 | 
				
			||||||
 texlive-latex-base, texlive-latex-base-doc, texlive-latex-extra, 
 | 
					 | 
				
			||||||
 texlive-latex-extra-doc, texlive-latex-recommended, 
 | 
					 | 
				
			||||||
 texlive-latex-recommended-doc, texlive-luatex, texlive-math-extra, 
 | 
					 | 
				
			||||||
 texlive-metapost, texlive-metapost-doc, texlive-music,
 | 
					 | 
				
			||||||
 texlive-omega, texlive-pictures, texlive-pictures-doc, texlive-plain-extra,
 | 
					 | 
				
			||||||
 texlive-plain-generic,
 | 
					 | 
				
			||||||
 texlive-pstricks, texlive-pstricks-doc, texlive-publishers,
 | 
					 | 
				
			||||||
 texlive-publishers-doc, texlive-science, texlive-science-doc, texlive-xetex,
 | 
					 | 
				
			||||||
 thailatex, tipa, tipa-doc, xindy, xindy-rules, xmltex, asymptote, texinfo
 | 
					 | 
				
			||||||
Architecture: all
 | 
					 | 
				
			||||||
Description: My local installation of TeX Live.
 | 
					 | 
				
			||||||
 A full "vanilla" TeX Live
 | 
					 | 
				
			||||||
 http://tug.org/texlive/debian#vanilla
 | 
					 | 
				
			||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
selected_scheme scheme-minimal
 | 
					selected_scheme scheme-full
 | 
				
			||||||
TEXDIR /usr/local/texlive
 | 
					TEXDIR /usr/local/texlive
 | 
				
			||||||
TEXMFCONFIG ~/.texlive/texmf-config
 | 
					TEXMFCONFIG ~/.texlive/texmf-config
 | 
				
			||||||
TEXMFHOME ~/texmf
 | 
					TEXMFHOME ~/texmf
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user