diff options
Diffstat (limited to 'docker-files/devel-arm/Dockerfile')
-rw-r--r-- | docker-files/devel-arm/Dockerfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docker-files/devel-arm/Dockerfile b/docker-files/devel-arm/Dockerfile new file mode 100644 index 00000000..f63800a1 --- /dev/null +++ b/docker-files/devel-arm/Dockerfile @@ -0,0 +1,26 @@ +# +# Glances Dockerfile for ARM (based on Alpine ARM) +# +# https://github.com/nicolargo/glances +# + +# Pull base image. +FROM python:2.7-alpine + +# Install Glances (develop branch) +RUN apk add --no-cache --virtual .build_deps \ + gcc \ + musl-dev \ + linux-headers \ + && pip install 'psutil>=5.4.7,<5.5.0' bottle==0.12.13 \ + && apk del .build_deps +RUN apk add --no-cache git && git clone -b develop https://github.com/nicolargo/glances.git + +# Define working directory. +WORKDIR /glances + +# EXPOSE PORT (For Web UI & XMLRPC) +EXPOSE 61208 61209 + +# Define default command. +CMD python -m glances -C /glances/conf/glances.conf $GLANCES_OPT |