This commit is contained in:
parent
534958407f
commit
81c0652411
11
.drone.yml
11
.drone.yml
|
@ -13,3 +13,14 @@ steps:
|
||||||
repo: kingofdog/pandoc-latex
|
repo: kingofdog/pandoc-latex
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
|
- name: docker-arm64
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
platform: linux/arm64
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
repo: kingofdog/pandoc-latex
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
|
25
Dockerfile.arm64
Normal file
25
Dockerfile.arm64
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
FROM arm64v8/debian:bullseye-slim
|
||||||
|
|
||||||
|
ARG PANDOC_VERSION=2.14.2
|
||||||
|
ARG PANDOC_CROSSREF_VERSION=v0.3.12.0c
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y wget xz-utils
|
||||||
|
RUN mkdir download \
|
||||||
|
&& cd download
|
||||||
|
RUN wget --quiet https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-arm64.tar.gz -O pandoc.tar.gz
|
||||||
|
RUN wget --quiet https://github.com/lierdakil/pandoc-crossref/releases/download/${PANDOC_CROSSREF_VERSION}/pandoc-crossref-Linux.tar.xz -O pandoc-crossref.tar.xz
|
||||||
|
RUN ls -l \
|
||||||
|
&& tar xf pandoc.tar.gz \
|
||||||
|
&& tar xf pandoc-crossref.tar.xz \
|
||||||
|
&& ls -l
|
||||||
|
RUN mv pandoc-${PANDOC_VERSION}/bin/* /usr/bin/ \
|
||||||
|
&& mv pandoc-crossref /usr/bin/ \
|
||||||
|
&& cd .. \
|
||||||
|
&& rm -rf download
|
||||||
|
RUN apt-get install -y \
|
||||||
|
git \
|
||||||
|
texlive-full \
|
||||||
|
python3-pygments
|
||||||
|
RUN rm -rf /var/lib/apt/lists/*
|
Loading…
Reference in New Issue
Block a user