1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 00:08:49 +00:00
dockerfiles/glances/arm/Dockerfile

30 lines
832 B
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 \
lm-sensors \
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 \
python-dev \
&& rm -rf /var/lib/apt/lists/*
VOLUME /glances
WORKDIR /glances
EXPOSE 61208
EXPOSE 61209
CMD python -m glances -C /glances/conf/glances.conf $GLANCES_OPT