Merge branch 'better-layers'
This commit is contained in:
commit
b885be60ef
13
README.md
13
README.md
@ -12,6 +12,19 @@
|
||||
* `context` - ConTeXt scheme
|
||||
* `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
|
||||
Mount your source code at `/data` and run whatever you want with LaTeX.
|
||||
|
||||
|
3
ctan/Dockerfile.basic
Normal file
3
ctan/Dockerfile.basic
Normal file
@ -0,0 +1,3 @@
|
||||
FROM icaotix/latex:minimal
|
||||
|
||||
RUN tlmgr install scheme-basic
|
3
ctan/Dockerfile.context
Normal file
3
ctan/Dockerfile.context
Normal file
@ -0,0 +1,3 @@
|
||||
FROM icaotix/latex:small
|
||||
|
||||
RUN tlmgr install scheme-context
|
3
ctan/Dockerfile.full
Normal file
3
ctan/Dockerfile.full
Normal file
@ -0,0 +1,3 @@
|
||||
FROM icaotix/latex:tetex
|
||||
|
||||
RUN tlmgr install scheme-full
|
3
ctan/Dockerfile.gust
Normal file
3
ctan/Dockerfile.gust
Normal file
@ -0,0 +1,3 @@
|
||||
FROM icaotix/latex:context
|
||||
|
||||
RUN tlmgr install scheme-gust
|
3
ctan/Dockerfile.medium
Normal file
3
ctan/Dockerfile.medium
Normal file
@ -0,0 +1,3 @@
|
||||
FROM icaotix/latex:gust
|
||||
|
||||
RUN tlmgr install scheme-medium
|
3
ctan/Dockerfile.minimal
Normal file
3
ctan/Dockerfile.minimal
Normal file
@ -0,0 +1,3 @@
|
||||
FROM icaotix/latex:infraonly
|
||||
|
||||
RUN tlmgr install scheme-minimal
|
3
ctan/Dockerfile.small
Normal file
3
ctan/Dockerfile.small
Normal file
@ -0,0 +1,3 @@
|
||||
FROM icaotix/latex:basic
|
||||
|
||||
RUN tlmgr install scheme-small
|
3
ctan/Dockerfile.tetex
Normal file
3
ctan/Dockerfile.tetex
Normal file
@ -0,0 +1,3 @@
|
||||
FROM icaotix/latex:medium
|
||||
|
||||
RUN tlmgr install scheme-tetex
|
@ -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}"
|
@ -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}"
|
@ -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}"
|
@ -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}"
|
@ -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}"
|
@ -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}"
|
@ -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}"
|
@ -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}"
|
Loading…
Reference in New Issue
Block a user