fix for untar
This commit is contained in:
parent
aaddd99c41
commit
f1b49a46c3
|
@ -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 unzip \
|
&& apt-get install -y wget xz-utils \
|
||||||
&& 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 \
|
||||||
&& unzip pandoc.tar.gz \
|
&& tar xf pandoc.tar.gz \
|
||||||
&& unzip pandoc-crossref.tar.xz \
|
&& tar xf 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/ \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user