Initial Commit
This commit is contained in:
commit
adee74820c
20
Dockerfile.basic
Normal file
20
Dockerfile.basic
Normal file
@ -0,0 +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}"
|
20
Dockerfile.full
Normal file
20
Dockerfile.full
Normal file
@ -0,0 +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}"
|
10
Dockerfile.ubuntu
Normal file
10
Dockerfile.ubuntu
Normal file
@ -0,0 +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/*
|
17
README.md
Normal file
17
README.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Collection of recipes for common setups
|
||||||
|
To extend the Basic docker-image with your packages.
|
||||||
|
#### Install the full scheme
|
||||||
|
` RUN tlmgr install scheme-full `
|
||||||
|
|
||||||
|
#### Install latex packages
|
||||||
|
` RUN tlmgr install latexmk `
|
||||||
|
` RUN tlmgr install biber `
|
||||||
|
|
||||||
|
#### Minted + Pygments
|
||||||
|
` RUN tlmgr install minted `
|
||||||
|
```
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -qy python python-pip \
|
||||||
|
&& pip install pygments \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user