Build docker image first
Some checks failed
the build failed

This commit is contained in:
Valentin Brandl 2018-10-13 18:08:26 +02:00
parent 9ce7cb82c6
commit ac9f28dcf8
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D
2 changed files with 23 additions and 1 deletions

View File

@ -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
View 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