diff options
author | nicolargo <nicolas@nicolargo.com> | 2018-01-24 20:58:33 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2018-01-24 20:58:33 +0100 |
commit | 524babd3d7cb574409baaedc41098be592fa5122 (patch) | |
tree | 3b603a3394df8ebc0f306f38114c4b07c23be612 /docker-files | |
parent | 229e8f36976c281fe14ff02bdbc474ac46a777d7 (diff) |
Rename docker folder to docker-files because import docker return always true...
Diffstat (limited to 'docker-files')
-rw-r--r-- | docker-files/devel/Dockerfile | 25 | ||||
-rw-r--r-- | docker-files/master/Dockerfile | 25 |
2 files changed, 50 insertions, 0 deletions
diff --git a/docker-files/devel/Dockerfile b/docker-files/devel/Dockerfile new file mode 100644 index 00000000..8ca70f45 --- /dev/null +++ b/docker-files/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-files/master/Dockerfile b/docker-files/master/Dockerfile new file mode 100644 index 00000000..c907b327 --- /dev/null +++ b/docker-files/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 |