From cc0fd7c713fcfce5035a62ccca779e82690b833c Mon Sep 17 00:00:00 2001 From: kev Date: Sun, 21 May 2017 10:04:05 +0800 Subject: [PATCH] fix glances --- glances/Dockerfile | 12 ++++++++++-- glances/arm/Dockerfile | 8 ++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/glances/Dockerfile b/glances/Dockerfile index 55ce9c4..35e5982 100644 --- a/glances/Dockerfile +++ b/glances/Dockerfile @@ -1,15 +1,20 @@ # -# Dockerfile for glances-arm +# Dockerfile for glances # FROM debian:jessie -MAINTAINER kev +MAINTAINER EasyPi Software Foundation RUN set -xe \ && apt-get update \ && apt-get -y install build-essential \ curl \ + libfreetype6 \ + libfreetype6-dev \ + libpng12-0 \ + libpng12-dev \ lm-sensors \ + pkg-config \ python \ python-dev \ wireless-tools \ @@ -17,6 +22,9 @@ RUN set -xe \ && pip install "glances[action,batinfo,browser,cpuinfo,chart,docker,export,folders,gpu,ip,raid,snmp,web,wifi]" \ && apt-get remove -y build-essential \ curl \ + libfreetype6-dev \ + libpng12-dev \ + pkg-config \ python-dev \ && rm -rf /var/lib/apt/lists/* diff --git a/glances/arm/Dockerfile b/glances/arm/Dockerfile index 04add92..47e7ec2 100644 --- a/glances/arm/Dockerfile +++ b/glances/arm/Dockerfile @@ -9,7 +9,12 @@ RUN set -xe \ && apt-get update \ && apt-get -y install build-essential \ curl \ + libfreetype6 \ + libfreetype6-dev \ + libpng12-0 \ + libpng12-dev \ lm-sensors \ + pkg-config \ python \ python-dev \ wireless-tools \ @@ -17,6 +22,9 @@ RUN set -xe \ && pip install "glances[action,batinfo,browser,cpuinfo,chart,docker,export,folders,gpu,ip,raid,snmp,web,wifi]" \ && apt-get remove -y build-essential \ curl \ + libfreetype6-dev \ + libpng12-dev \ + pkg-config \ python-dev \ && rm -rf /var/lib/apt/lists/*