summaryrefslogtreecommitdiffstats
path: root/docker-files
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2018-09-15 12:10:01 +0200
committernicolargo <nicolas@nicolargo.com>2018-09-15 12:10:01 +0200
commit5a7dd4489a97ccd26d24fed8c8607adb7ef7d23d (patch)
tree53203513737dce3f426dd9dcf15d4b935eff967b /docker-files
parent6d1c0ccce0e45a43d919747e02c79acf466af52f (diff)
Add Docker container for ARM
Diffstat (limited to 'docker-files')
-rw-r--r--docker-files/devel-arm/Dockerfile26
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..860ca711
--- /dev/null
+++ b/docker-files/devel-arm/Dockerfile
@@ -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