Latest DockerHub Version and latest pip Version doesn't match #944

This commit is contained in:
nicolargo 2016-10-26 20:34:14 +02:00
parent 54f0e1d33f
commit ae539ddea4
2 changed files with 25 additions and 0 deletions

25
docker/master/Dockerfile Normal file
View File

@ -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