summaryrefslogtreecommitdiffstats
path: root/docker-files
diff options
context:
space:
mode:
authorJordan Moore <crikket.007@gmail.com>2018-09-30 23:27:20 -0500
committerJordan Moore <crikket.007@gmail.com>2018-09-30 23:48:00 -0500
commit76b73d807d4809759d44b20ebdb8261af9164360 (patch)
treebf08323b646491fc5a9e27a30f21dd9e40990c9c /docker-files
parent661f8fb4862bdf6c9fce2851d6593aea16a35a76 (diff)
Fix Docker ARM build
Diffstat (limited to 'docker-files')
-rw-r--r--docker-files/devel-arm/Dockerfile19
1 files changed, 10 insertions, 9 deletions
diff --git a/docker-files/devel-arm/Dockerfile b/docker-files/devel-arm/Dockerfile
index 841bbda1..f63800a1 100644
--- a/docker-files/devel-arm/Dockerfile
+++ b/docker-files/devel-arm/Dockerfile
@@ -5,21 +5,22 @@
#
# Pull base image.
-FROM easypi/alpine-arm
+FROM python:2.7-alpine
# Install Glances (develop branch)
-RUN apk add python py2-psutil py2-bottle
-RUN apk add git
-RUN git clone -b develop https://github.com/nicolargo/glances.git
+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 XMLRPC)
-EXPOSE 61209
-
-# EXPOSE PORT (For Web UI)
-EXPOSE 61208
+# EXPOSE PORT (For Web UI & XMLRPC)
+EXPOSE 61208 61209
# Define default command.
CMD python -m glances -C /glances/conf/glances.conf $GLANCES_OPT