From aca5eb6e8647355220678becf74eb08efd9d5e01 Mon Sep 17 00:00:00 2001 From: Matt M Date: Thu, 25 Oct 2018 23:05:51 -0400 Subject: [PATCH] Install python3, pip, and graphviz so the gprof2dot python library can be installed. This is required for the call graph. Had to lock ubuntu to 14.0 because newer version don't include php5. I had a small sample size a cachgrind files, but they call graph was successfully generated for me... --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index efa430c..da2bda8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM ubuntu +FROM ubuntu:14.04 MAINTAINER Christian Lück RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \ nginx supervisor php5-fpm php5-cli \ - graphviz python \ + graphviz python3 python-pip python-dev build-essential graphviz \ git # add webgrind as the only nginx site @@ -15,6 +15,7 @@ RUN rm /etc/nginx/sites-enabled/default RUN git clone https://github.com/jokkedk/webgrind /var/www RUN chown www-data:www-data -R /var/www +RUN pip install gprof2dot # expose only nginx HTTP port EXPOSE 80