summaryrefslogtreecommitdiffstats
path: root/docker-files/devel-arm/Dockerfile
blob: d48a2c08aba29632156147461f83ca3c8fb99971 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# 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 cd /glances
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