added quiet option for wget

This commit is contained in:
Dominik 2020-05-19 17:36:42 +02:00
parent dd030c1e92
commit 1df8ab61ce

View File

@ -3,19 +3,21 @@ FROM debian:stretch-slim
ENV PANDOC_VERSION 2.9.2.1 ENV PANDOC_VERSION 2.9.2.1
ENV PANDOC_CROSSREF_VERSION v0.3.6.2a ENV PANDOC_CROSSREF_VERSION v0.3.6.2a
RUN apt-get update \ RUN echo https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz \
&& apt-get install -y \ && echo https://github.com/lierdakil/pandoc-crossref/releases/download/${PANDOC_CROSSREF_VERSION}/pandoc-crossref-Linux-${PANDOC_VERSION}.tar.xz \
git \
texlive-full \
python-pygments \
&& mkdir download \ && mkdir download \
&& cd download \ && cd download \
&& wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz \ && wget --quiet https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz \
&& wget https://github.com/lierdakil/pandoc-crossref/releases/download/${PANDOC_CROSSREF_VERSION}/pandoc-crossref-Linux-${PANDOC_VERSION}.tar.xz \ && wget --quiet https://github.com/lierdakil/pandoc-crossref/releases/download/${PANDOC_CROSSREF_VERSION}/pandoc-crossref-Linux-${PANDOC_VERSION}.tar.xz \
&& tar -xf pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz \ && tar -xf pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz \
&& sudo mv pandoc-${PANDOC_VERSION}/bin/* /usr/bin/ \ && sudo mv pandoc-${PANDOC_VERSION}/bin/* /usr/bin/ \
&& tar -xf pandoc-crossref-Linux-${PANDOC_VERSION}.tar.xz \ && tar -xf pandoc-crossref-Linux-${PANDOC_VERSION}.tar.xz \
&& mv pandoc-crossref /usr/bin/ \ && mv pandoc-crossref /usr/bin/ \
&& cd .. \ && cd .. \
&& rm -rf download \ && rm -rf download \
&& apt-get update \
&& apt-get install -y \
git \
texlive-full \
python-pygments \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*