mirror of https://github.com/nicolargo/glances
Add Docker container for ARM
parent
6d1c0ccce0
commit
5a7dd4489a
|
@ -0,0 +1,26 @@
|
|||
#
|
||||
# Glances Dockerfile for ARM
|
||||
#
|
||||
# https://github.com/nicolargo/glances
|
||||
#
|
||||
|
||||
# Pull base image.
|
||||
FROM alpine
|
||||
|
||||
# Install Glances (develop branch)
|
||||
RUN apk add python py2-psutil py2-bottle
|
||||
RUN apk add git
|
||||
RUN git clone https://github.com/nicolargo/glances.git
|
||||
RUN git checkout develop
|
||||
|
||||
# Define working directory.
|
||||
WORKDIR /glances
|
||||
|
||||
# EXPOSE PORT (For XMLRPC)
|
||||
EXPOSE 61209
|
||||
|
||||
# EXPOSE PORT (For Web UI)
|
||||
EXPOSE 61208
|
||||
|
||||
# Define default command.
|
||||
CMD python -m glances -C /glances/conf/glances.conf $GLANCES_OPT
|
Loading…
Reference in New Issue