ubuntu/Dockerfile
Stephan Stanisic c237218b32
All checks were successful
continuous-integration/drone/push Build is passing
Install pandoc from website instead of repos
The version in the repos was outdated
2022-06-21 10:01:46 +02:00

14 lines
709 B
Docker

FROM ubuntu
RUN sed -i -e 's/^APT/# APT/' -e 's/^DPkg/# DPkg/' /etc/apt/apt.conf.d/docker-clean; \
export DEBIAN_FRONTEND=noninteractive; \
apt update; apt install -y curl; \
curl -sL https://deb.nodesource.com/setup_16.x | bash; \
apt install -y jq texlive-full wget git cppcheck nodejs python3 python3-pip graphviz; \
cd /tmp; \
wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb; \
dpkg -i pandoc-2.18-1-amd64.deb; \
wget https://github.com/plantuml/plantuml/releases/download/v1.2022.5/plantuml-1.2022.5.jar; \
printf "#!/bin/sh\njava -jar /tmp/plantuml-1.2022.5.jar \${@}" > /usr/bin/plantuml; \
chmod +x /usr/bin/plantuml; \
pip3 install pandoc-plantuml-filter