diff options
author | nicolargo <nicolas@nicolargo.com> | 2016-10-26 20:34:14 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2016-10-26 20:34:14 +0200 |
commit | ae539ddea49be0db1c898038b5f4d99cdbabdf2d (patch) | |
tree | 34a754f0895b543cd7a2df26e7ab7e3f4413f63e /docker | |
parent | 54f0e1d33fbe0627c10fc5e924322653961a10d6 (diff) |
Latest DockerHub Version and latest pip Version doesn't match #944
Diffstat (limited to 'docker')
-rw-r--r-- | docker/devel/Dockerfile | 25 | ||||
-rw-r--r-- | docker/master/Dockerfile | 25 |
2 files changed, 50 insertions, 0 deletions
diff --git a/docker/devel/Dockerfile b/docker/devel/Dockerfile new file mode 100644 index 00000000..8ca70f45 --- /dev/null +++ b/docker/devel/Dockerfile @@ -0,0 +1,25 @@ +# +# Glances Dockerfile +# +# https://github.com/nicolargo/glances +# + +# Pull base image. +FROM ubuntu + +# Install Glances (develop branch) +RUN apt-get update && apt-get -y install curl && rm -rf /var/lib/apt/lists/* +RUN curl -L https://raw.githubusercontent.com/nicolargo/glancesautoinstall/master/install-develop.sh | /bin/bash && rm -rf /var/lib/apt/lists/* + + +# 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 diff --git a/docker/master/Dockerfile b/docker/master/Dockerfile new file mode 100644 index 00000000..c907b327 --- /dev/null +++ b/docker/master/Dockerfile @@ -0,0 +1,25 @@ +# +# Glances Dockerfile +# +# https://github.com/nicolargo/glances +# + +# Pull base image. +FROM ubuntu + +# Install Glances (develop branch) +RUN apt-get update && apt-get -y install curl && rm -rf /var/lib/apt/lists/* +RUN curl -L https://raw.githubusercontent.com/nicolargo/glancesautoinstall/master/install.sh | /bin/bash && rm -rf /var/lib/apt/lists/* + + +# 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 |