mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-26 05:27:27 +02:00
30 lines
826 B
Docker
30 lines
826 B
Docker
#
|
|
# Dockerfile for glances-arm
|
|
#
|
|
|
|
FROM armhf/debian:jessie
|
|
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
|