FROM debian:9
MAINTAINER Jean Gabes <naparuba@gmail.com>

RUN        apt-get update && apt-get install -y python
# Setup test env, "standard" installation is test with other tests ^^
RUN        apt-get install -y python-pip
RUN        pip install jinja2
RUN        pip install leveldb
RUN        pip install pyOpenSSL
RUN        pip install pycrypto
RUN        pip install requests
RUN        pip install Crypto
RUN        pip install pygments
RUN        pip install coveralls
RUN        pip install nose-cov
RUN        pip install unittest2
RUN        apt-get install -y python-cherrypy3
RUN        pip install rsa
# The internal yaml seems to not be used, thanks nose
RUN        pip install ruamel.yaml==0.11.15
RUN        apt-get install -y sysstat
RUN        apt-get install -y curl
RUN        apt-get install -y vim
RUN        apt-get install -y locales

RUN        curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN        apt-get install -y nodejs
RUN        npm install gtop -g




ENTRYPOINT     LANG=en_US.utf8 TERM=xterm-256color gtop

# Exemple de mise en place de gtop, qui est intéressant sur sa forme pour des dashboard, à voir si ça existe en python pour l'intégrer nativement (et proposer aux utilisateurs de donner leur dashboards?)