Remove default values from dockerfiles

This commit is contained in:
Marcel Schwarz 2020-03-29 18:47:03 +02:00
parent 58b2da8aeb
commit 959266fab8
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
ARG SOURCE=infraonly ARG SOURCE
FROM icaotix/latex:$SOURCE FROM icaotix/latex:$SOURCE
ARG SCHEME=minimal ARG SCHEME
RUN tlmgr install scheme-${SCHEME} RUN tlmgr install scheme-${SCHEME}

View File

@ -8,9 +8,8 @@ RUN apt-get update -q \
&& apt-get install -qy build-essential wget libfontconfig1 \ && apt-get install -qy build-essential wget libfontconfig1 \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
ARG SCHEME=infraonly ARG SCHEME
# Install TexLive with scheme-infraonly
RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \ RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \
&& mkdir /install-tl-unx \ && mkdir /install-tl-unx \
&& tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1 \ && tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1 \