fix for filepaths

This commit is contained in:
Dominik 2020-05-19 18:13:47 +02:00
parent 7b147b2405
commit 5f003531a9

View File

@ -7,11 +7,13 @@ RUN apt-get update \
&& apt-get install -y wget \ && apt-get install -y wget \
&& 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 \ && 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 \ && 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 \
&& tar -xf pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz \ && ls -l \
&& tar -xf pandoc.tar.gz \
&& tar -xf pandoc-crossref.tar.xz \
&& ls -l \
&& mv pandoc-${PANDOC_VERSION}/bin/* /usr/bin/ \ && mv pandoc-${PANDOC_VERSION}/bin/* /usr/bin/ \
&& 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 \