fixed issue with untar

This commit is contained in:
Dominik 2020-05-19 18:24:58 +02:00
parent 54f3d44c3e
commit aaddd99c41

View File

@ -4,14 +4,14 @@ 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 apt-get update \
&& apt-get install -y wget \ && apt-get install -y wget unzip \
&& mkdir download \ && mkdir download \
&& cd download \ && cd download \
&& wget --quiet https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz -O pandoc.tar.gz \ && wget --quiet https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz -O pandoc.tar.gz \
&& wget --quiet https://github.com/lierdakil/pandoc-crossref/releases/download/${PANDOC_CROSSREF_VERSION}/pandoc-crossref-Linux-${PANDOC_VERSION}.tar.xz -O pandoc-crossref.tar.xz \ && wget --quiet https://github.com/lierdakil/pandoc-crossref/releases/download/${PANDOC_CROSSREF_VERSION}/pandoc-crossref-Linux-${PANDOC_VERSION}.tar.xz -O pandoc-crossref.tar.xz \
&& ls -l \ && ls -l \
&& tar -xf pandoc.tar.gz \ && unzip pandoc.tar.gz \
&& tar -xf pandoc-crossref.tar.xz \ && unzip pandoc-crossref.tar.xz \
&& ls -l \ && ls -l \
&& mv pandoc-${PANDOC_VERSION}/bin/* /usr/bin/ \ && mv pandoc-${PANDOC_VERSION}/bin/* /usr/bin/ \
&& mv pandoc-crossref /usr/bin/ \ && mv pandoc-crossref /usr/bin/ \