1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/glances/arm/Dockerfile

38 lines
1.2 KiB
Docker
Raw Normal View History

2017-05-21 01:01:03 +00:00
#
# Dockerfile for glances-arm
#
2017-05-21 01:37:55 +00:00
FROM resin/rpi-raspbian:jessie
2017-05-21 01:01:03 +00:00
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt-get update \
&& apt-get -y install build-essential \
curl \
2017-05-21 02:04:05 +00:00
libfreetype6 \
libfreetype6-dev \
libpng12-0 \
libpng12-dev \
2017-05-21 01:01:03 +00:00
lm-sensors \
2017-05-21 02:04:05 +00:00
pkg-config \
2017-05-21 01:01:03 +00:00
python \
python-dev \
wireless-tools \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
&& pip install "glances[action,batinfo,browser,cpuinfo,chart,docker,export,folders,gpu,ip,raid,snmp,web,wifi]" \
&& apt-get remove -y build-essential \
curl \
2017-05-21 02:04:05 +00:00
libfreetype6-dev \
libpng12-dev \
pkg-config \
2017-05-21 01:01:03 +00:00
python-dev \
2017-05-21 07:19:29 +00:00
&& rm -rf /root/.cache/pip /var/lib/apt/lists/*
2017-05-21 01:01:03 +00:00
2017-05-21 09:35:36 +00:00
VOLUME /etc/glances
WORKDIR /etc/glances
2017-05-21 01:01:03 +00:00
EXPOSE 61208
EXPOSE 61209
CMD python -m glances -C /glances/conf/glances.conf $GLANCES_OPT