From 349edd8c21b3350e96b857ee75f24493089c2a7c Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 23 Jul 2018 16:24:00 -0400 Subject: [PATCH] Install Python in Docker Necessary for the highlighter --- Dockerfile | 2 +- ci-deploy/Dockerfile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8c7371b..3ab10ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM debian:sid ## dependency installation: nginx, wattsi, and other build tools ## cleanup freepascal since it is no longer needed after wattsi build RUN apt-get update && \ - apt-get install -y ca-certificates curl git unzip fp-compiler fp-units-fcl fp-units-net libc6-dev nginx && \ + apt-get install -y ca-certificates curl git unzip fp-compiler fp-units-fcl fp-units-net libc6-dev nginx python2.7 python-pip && \ git clone https://github.com/whatwg/wattsi.git /whatwg/wattsi && \ cd /whatwg/wattsi && \ /whatwg/wattsi/build.sh && \ diff --git a/ci-deploy/Dockerfile b/ci-deploy/Dockerfile index c80bb96..2f3e856 100644 --- a/ci-deploy/Dockerfile +++ b/ci-deploy/Dockerfile @@ -7,6 +7,7 @@ RUN apt-get update && \ fp-compiler fp-units-fcl fp-units-net libc6-dev \ default-jre \ libfontconfig1 libgomp1 libxml2 \ + python2.7 python-pip \ fonts-dejavu fonts-droid-fallback fonts-liberation fonts-symbola fonts-unfonts-core # Dependency lines above are: @@ -14,6 +15,7 @@ RUN apt-get update && \ # - Wattsi # - validator # - Prince +# - Highlighter # - fonts # Dependecies of prince_11.3-1_debian8.0_amd64.deb (not used) are libc6 libcurl3 libfontconfig1