Skip to content

Commit

Permalink
Install Python in Docker
Browse files Browse the repository at this point in the history
Necessary for the highlighter
  • Loading branch information
domenic committed Jul 23, 2018
1 parent 1d7e84d commit 349edd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
2 changes: 2 additions & 0 deletions ci-deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ 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:
# - General
# - Wattsi
# - validator
# - Prince
# - Highlighter
# - fonts

# Dependecies of prince_11.3-1_debian8.0_amd64.deb (not used) are libc6 libcurl3 libfontconfig1
Expand Down

0 comments on commit 349edd8

Please sign in to comment.