parent
9ce7cb82c6
commit
ac9f28dcf8
@ -6,9 +6,14 @@ pipeline:
|
|||||||
# - build
|
# - build
|
||||||
# volumes:
|
# volumes:
|
||||||
# - /home/gitea/gitea/drone_build_cache/notes:/cache
|
# - /home/gitea/gitea/drone_build_cache/notes:/cache
|
||||||
|
|
||||||
|
build-docker:
|
||||||
|
image: plugins/docker
|
||||||
|
repo: local/note-builder
|
||||||
|
auto_tag: true
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: local/pandoc
|
image: local/note-builder
|
||||||
commands:
|
commands:
|
||||||
- make
|
- make
|
||||||
|
|
||||||
|
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
ENV PANDOC_VERSION "2.3.1"
|
||||||
|
|
||||||
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends \
|
||||||
|
texlive-latex-base \
|
||||||
|
texlive-full \
|
||||||
|
latexmk \
|
||||||
|
texlive-xetex \
|
||||||
|
texlive-latex-extra \
|
||||||
|
texlive-fonts-extra \
|
||||||
|
texlive-bibtex-extra \
|
||||||
|
fontconfig \
|
||||||
|
lmodern wget build-essential graphviz
|
||||||
|
|
||||||
|
RUN wget https://github.com/jgm/pandoc/releases/download/2.3.1/pandoc-${PANDOC_VERSION}-1-amd64.deb -O /pandoc.deb \
|
||||||
|
&& dpkg -i /pandoc.deb && rm /pandoc.deb
|
Loading…
Reference in New Issue
Block a user