mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-02-20 02:57:55 +01:00
24 lines
486 B
Docker
24 lines
486 B
Docker
# Run glances in a container
|
|
# https://github.com/nicolargo/glances
|
|
#
|
|
# docker run --rm -it \
|
|
# --pid host \
|
|
# --ipc host \
|
|
# --net host \
|
|
# --privileged \
|
|
# --name glances \
|
|
# infoslack/glances
|
|
|
|
FROM python:latest
|
|
MAINTAINER Daniel Romero <infoslack@gmail.com>
|
|
|
|
ENV VERSION 2.4.2
|
|
RUN curl -L "https://github.com/nicolargo/glances/archive/v${VERSION}.tar.gz" \
|
|
-o glances.tar.gz \
|
|
&& tar -zxvf glances.tar.gz
|
|
|
|
WORKDIR glances-$VERSION
|
|
RUN python setup.py install
|
|
|
|
CMD [ "glances" ]
|