Install plugins inside surveil container

Change-Id: Iad7079493d4575894f4529ffb2df010571d7ad70
This commit is contained in:
aviau 2015-01-23 17:05:31 -05:00
parent a5a577f4a6
commit 23ea74d4e2
2 changed files with 8 additions and 3 deletions

View File

@ -29,7 +29,9 @@ RUN chmod u+s /bin/ping6
## Packs ## Packs
ADD shinken-tools/packs /packs ADD shinken-tools/packs /packs
ADD shinken-tools/plugins /plugins
## Plugins
ADD shinken-tools/plugins/*/check_* /usr/lib/nagios/plugins/
# Download packs from savoirfairelinux/monitoring-tools # Download packs from savoirfairelinux/monitoring-tools
RUN apt-get install -y subversion && \ RUN apt-get install -y subversion && \
@ -51,7 +53,7 @@ ADD .git /surveil/.git
ADD README.rst surveil/README.rst ADD README.rst surveil/README.rst
## Install ## Install
RUN apt-get install -y python3-pip python-dev RUN apt-get install -y python3-pip python-dev libffi-dev libssl-dev
RUN pip install -r /surveil/requirements.txt RUN pip install -r /surveil/requirements.txt
RUN apt-get install -y git RUN apt-get install -y git
RUN cd surveil && python setup.py install RUN cd surveil && python setup.py install

View File

@ -2,5 +2,8 @@ pecan>=0.5.0
pymongo>=2.7.2 pymongo>=2.7.2
wsme wsme
requests requests
# Plugins dependencies
shinkenplugins
python-keystoneclient python-keystoneclient
python-novaclient python-glanceclient