fixed issue with untar
This commit is contained in:
parent
54f3d44c3e
commit
aaddd99c41
|
@ -4,14 +4,14 @@ ENV PANDOC_VERSION 2.9.2.1
|
|||
ENV PANDOC_CROSSREF_VERSION v0.3.6.2a
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y wget \
|
||||
&& apt-get install -y wget unzip \
|
||||
&& mkdir 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/lierdakil/pandoc-crossref/releases/download/${PANDOC_CROSSREF_VERSION}/pandoc-crossref-Linux-${PANDOC_VERSION}.tar.xz -O pandoc-crossref.tar.xz \
|
||||
&& ls -l \
|
||||
&& tar -xf pandoc.tar.gz \
|
||||
&& tar -xf pandoc-crossref.tar.xz \
|
||||
&& unzip pandoc.tar.gz \
|
||||
&& unzip pandoc-crossref.tar.xz \
|
||||
&& ls -l \
|
||||
&& mv pandoc-${PANDOC_VERSION}/bin/* /usr/bin/ \
|
||||
&& mv pandoc-crossref /usr/bin/ \
|
||||
|
|
Loading…
Reference in New Issue
Block a user