Browse Source

add tikx-uml

master
Gaël Berthaud-Müller 9 months ago
parent
commit
332d570c54
  1. 5
      .drone.yml
  2. 8
      Dockerfile

5
.drone.yml

@ -2,9 +2,8 @@ kind: pipeline
name: default
steps:
- name: docker
- name: build
image: plugins/docker
privileged: true
settings:
username:
from_secret: docker_user
@ -12,4 +11,4 @@ steps:
from_secret: docker_password
repo: docker.registry.bksp.space/latex-runner
registry: docker.registry.bksp.space
tags: latest
auto_tag: true

8
Dockerfile

@ -1,6 +1,9 @@
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
ARG tikzuml_version=1.0
ARG tikzuml_reldate=2016-03-29
RUN apt-get update && \
apt-get -y install texlive-latex-extra \
texlive-fonts-extra \
@ -13,6 +16,9 @@ RUN apt-get update && \
python3 \
python3-pygments \
curl
RUN mkdir -p /usr/share/texlive/texmf-dist/tex/latex/tikz-uml && \
curl -L http://perso.ensta-paristech.fr/~kielbasi/tikzuml/var/files/src/tikzuml-v${tikzuml_version}-${tikzuml_reldate}.tbz | tar jxv --strip-components=1 -C /usr/share/texlive/texmf-dist/tex/latex/tikz-uml tikzuml-v${tikzuml_version}-${tikzuml_reldate}/tikz-uml.sty && \
texhash
WORKDIR /workdir
WORKDIR /workdir
Loading…
Cancel
Save