Change build to build schemes incrementally
Move Dockerfiles from ctan up one folder
This commit is contained in:
parent
60074f56c6
commit
f6aab49533
35
README.md
35
README.md
@ -14,32 +14,15 @@
|
||||
|
||||
## Build Info (Image tree)
|
||||
```
|
||||
infraonly
|
||||
+
|
||||
|
|
||||
|
|
||||
v
|
||||
minimal
|
||||
+
|
||||
|
|
||||
|
|
||||
v
|
||||
basic
|
||||
+-------+------+
|
||||
| | |
|
||||
| | |
|
||||
v v v
|
||||
context small gust
|
||||
+
|
||||
|
|
||||
|
|
||||
v
|
||||
medium
|
||||
+
|
||||
|
|
||||
+----+---+
|
||||
v v
|
||||
full tetex
|
||||
infraonly (base image with ubuntu:18.04)
|
||||
+---> minimal
|
||||
+---> basic
|
||||
+---> small
|
||||
+---> context
|
||||
+---> gust
|
||||
+---> medium
|
||||
+---> tetex
|
||||
+---> full
|
||||
```
|
||||
|
||||
# How to use
|
||||
|
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}"
|
18
script.bat
Normal file
18
script.bat
Normal file
@ -0,0 +1,18 @@
|
||||
docker build -t icaotix/latex:infraonly -f Dockerfile.infraonly .
|
||||
|
||||
docker build -t icaotix/latex:minimal -f Dockerfile.minimal .
|
||||
|
||||
docker build -t icaotix/latex:basic -f Dockerfile.basic .
|
||||
|
||||
docker build -t icaotix/latex:small -f Dockerfile.small .
|
||||
|
||||
docker build -t icaotix/latex:context -f Dockerfile.context .
|
||||
|
||||
docker build -t icaotix/latex:gust -f Dockerfile.gust .
|
||||
|
||||
docker build -t icaotix/latex:medium -f Dockerfile.medium .
|
||||
|
||||
docker build -t icaotix/latex:tetex -f Dockerfile.tetex .
|
||||
|
||||
docker build -t icaotix/latex:full -f Dockerfile.full .
|
||||
|
Loading…
Reference in New Issue
Block a user