Merge branch 'better-layers'

This commit is contained in:
Marcel Schwarz 2020-03-28 02:22:11 +01:00
commit b885be60ef
18 changed files with 37 additions and 160 deletions

View File

@ -12,6 +12,19 @@
* `context` - ConTeXt scheme * `context` - ConTeXt scheme
* `tetex` - teTeX scheme (more than medium, but nowhere near full) * `tetex` - teTeX scheme (more than medium, but nowhere near full)
## Build Info (Image tree)
```
infraonly (base image with ubuntu:18.04)
+---> minimal
+---> basic
+---> small
+---> context
+---> gust
+---> medium
+---> tetex
+---> full
```
# How to use # How to use
Mount your source code at `/data` and run whatever you want with LaTeX. Mount your source code at `/data` and run whatever you want with LaTeX.

3
ctan/Dockerfile.basic Normal file
View File

@ -0,0 +1,3 @@
FROM icaotix/latex:minimal
RUN tlmgr install scheme-basic

3
ctan/Dockerfile.context Normal file
View File

@ -0,0 +1,3 @@
FROM icaotix/latex:small
RUN tlmgr install scheme-context

3
ctan/Dockerfile.full Normal file
View File

@ -0,0 +1,3 @@
FROM icaotix/latex:tetex
RUN tlmgr install scheme-full

3
ctan/Dockerfile.gust Normal file
View File

@ -0,0 +1,3 @@
FROM icaotix/latex:context
RUN tlmgr install scheme-gust

3
ctan/Dockerfile.medium Normal file
View File

@ -0,0 +1,3 @@
FROM icaotix/latex:gust
RUN tlmgr install scheme-medium

3
ctan/Dockerfile.minimal Normal file
View File

@ -0,0 +1,3 @@
FROM icaotix/latex:infraonly
RUN tlmgr install scheme-minimal

3
ctan/Dockerfile.small Normal file
View File

@ -0,0 +1,3 @@
FROM icaotix/latex:basic
RUN tlmgr install scheme-small

3
ctan/Dockerfile.tetex Normal file
View File

@ -0,0 +1,3 @@
FROM icaotix/latex:medium
RUN tlmgr install scheme-tetex

View File

@ -1,20 +0,0 @@
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}"

View File

@ -1,20 +0,0 @@
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-context
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-context" >> /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}"

View File

@ -1,20 +0,0 @@
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}"

View File

@ -1,20 +0,0 @@
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-gust
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-gust" >> /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}"

View File

@ -1,20 +0,0 @@
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-medium
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-medium" >> /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}"

View File

@ -1,20 +0,0 @@
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-minimal
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-minimal" >> /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}"

View File

@ -1,20 +0,0 @@
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-small
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-small" >> /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}"

View File

@ -1,20 +0,0 @@
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-tetex
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-tetex" >> /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}"