Initial Commit

This commit is contained in:
Marcel Schwarz 2020-03-26 23:19:37 +01:00 committed by GitHub
commit adee74820c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 67 additions and 0 deletions

20
Dockerfile.basic Normal file
View 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
View 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
View 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
View 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/*
```