diff --git a/Dockerfile.basic b/ctan/basic/Dockerfile similarity index 97% rename from Dockerfile.basic rename to ctan/basic/Dockerfile index 75928ff..4c16aba 100644 --- a/Dockerfile.basic +++ b/ctan/basic/Dockerfile @@ -1,20 +1,20 @@ -FROM ubuntu:18.04 - -ENV DEBIAN_FRONTEND noninteractive -ENV HOME /data -WORKDIR /data - -RUN apt-get update -q \ - && apt-get install -qy build-essential wget libfontconfig1 \ - && rm -rf /var/lib/apt/lists/* - -# Install TexLive with scheme-basic -RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \ - && mkdir /install-tl-unx \ - && tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1 \ - && echo "selected_scheme scheme-basic" >> /install-tl-unx/texlive.profile \ - && /install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile \ - && rm -r /install-tl-unx \ - && rm install-tl-unx.tar.gz - -ENV PATH="/usr/local/texlive/2019/bin/x86_64-linux:${PATH}" +FROM ubuntu:18.04 + +ENV DEBIAN_FRONTEND noninteractive +ENV HOME /data +WORKDIR /data + +RUN apt-get update -q \ + && apt-get install -qy build-essential wget libfontconfig1 \ + && rm -rf /var/lib/apt/lists/* + +# Install TexLive with scheme-basic +RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \ + && mkdir /install-tl-unx \ + && tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1 \ + && echo "selected_scheme scheme-basic" >> /install-tl-unx/texlive.profile \ + && /install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile \ + && rm -r /install-tl-unx \ + && rm install-tl-unx.tar.gz + +ENV PATH="/usr/local/texlive/2019/bin/x86_64-linux:${PATH}" diff --git a/Dockerfile.full b/ctan/full/Dockerfile similarity index 97% rename from Dockerfile.full rename to ctan/full/Dockerfile index 22e6012..abd6b74 100644 --- a/Dockerfile.full +++ b/ctan/full/Dockerfile @@ -1,20 +1,20 @@ -FROM ubuntu:18.04 - -ENV DEBIAN_FRONTEND noninteractive -ENV HOME /data -WORKDIR /data - -RUN apt-get update -q \ - && apt-get install -qy build-essential wget libfontconfig1 \ - && rm -rf /var/lib/apt/lists/* - -# Install TexLive with scheme-full -RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \ - && mkdir /install-tl-unx \ - && tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1 \ - && echo "selected_scheme scheme-full" >> /install-tl-unx/texlive.profile \ - && /install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile \ - && rm -r /install-tl-unx \ - && rm install-tl-unx.tar.gz - -ENV PATH="/usr/local/texlive/2019/bin/x86_64-linux:${PATH}" +FROM ubuntu:18.04 + +ENV DEBIAN_FRONTEND noninteractive +ENV HOME /data +WORKDIR /data + +RUN apt-get update -q \ + && apt-get install -qy build-essential wget libfontconfig1 \ + && rm -rf /var/lib/apt/lists/* + +# Install TexLive with scheme-full +RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \ + && mkdir /install-tl-unx \ + && tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1 \ + && echo "selected_scheme scheme-full" >> /install-tl-unx/texlive.profile \ + && /install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile \ + && rm -r /install-tl-unx \ + && rm install-tl-unx.tar.gz + +ENV PATH="/usr/local/texlive/2019/bin/x86_64-linux:${PATH}" diff --git a/Dockerfile.ubuntu b/ubuntu/1804/Dockerfile similarity index 95% rename from Dockerfile.ubuntu rename to ubuntu/1804/Dockerfile index 83ae664..c4ea48a 100644 --- a/Dockerfile.ubuntu +++ b/ubuntu/1804/Dockerfile @@ -1,10 +1,10 @@ -FROM ubuntu:18.04 - -ENV DEBIAN_FRONTEND noninteractive -WORKDIR /data - -RUN apt-get update -q && apt-get install -qy \ - texlive-base biber\ - python-pygments gnuplot \ - make git \ - && rm -rf /var/lib/apt/lists/* +FROM ubuntu:18.04 + +ENV DEBIAN_FRONTEND noninteractive +WORKDIR /data + +RUN apt-get update -q && apt-get install -qy \ + texlive-base biber\ + python-pygments gnuplot \ + make git \ + && rm -rf /var/lib/apt/lists/*