From b148784d21ca097fe2c1b53d3d593e9e6dfe592f Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 12 Apr 2018 20:34:37 +0000 Subject: [PATCH] add phantomjs-prebuilt --- .drone.yml | 9 +- Makefile | 2 +- compile.sh | 2 + revealjs/package-lock.json | 603 +++++++++++++++++++++++++++++++++++++ revealjs/package.json | 8 +- 5 files changed, 614 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index f594e4d..0a17e35 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,8 +7,10 @@ pipeline: - ./compile.sh latex build-libreoffice: - image: jess/libreoffice + image: olbat/libreoffice commands: + - apt-get update + - apt-get install -y --no-install-recommends wget make - wget -P /usr/share/fonts -c -q https://cdn.jsdelivr.net/npm/mozilla-fira-pack/Fira/ttf/FiraMono-Bold.ttf https://cdn.jsdelivr.net/npm/mozilla-fira-pack/Fira/ttf/FiraMono-Medium.ttf @@ -48,7 +50,8 @@ pipeline: - ./compile.sh libreoffice build-revealjs: - image: node:alpine + image: node commands: - - apk add --no-cache make + - apt-get update + - apt-get install make - ./compile.sh revealjs diff --git a/Makefile b/Makefile index b1f8f62..a4158dc 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ revealjs/node_modules: (cd $(@D) && npm install) revealjs/%/index.pdf: revealjs/%/index.html - phantomjs revealjs/node_modules/reveal.js/plugin/print-pdf/print-pdf.js file://$(PWD)/$