blob: 31233ef8bc03e6a990e65ef2f96771959ecebe03 [file] [log] [blame]
Stephane Barbarie3eab2bb2017-04-24 15:04:23 -04001# Build from latest stable load
2FROM opennms/horizon-core-web:19.0.1-1
3
4# Install supervisord
5RUN yum install -y python-setuptools
6RUN easy_install supervisor
7RUN mkdir -p /var/log/supervisor
Stephane Barbarie95507c42017-09-19 10:41:04 -04008RUN mkdir -p /var/log/opennms
9RUN mkdir -p /var/opennms/rrd
10RUN mkdir -p /var/opennms/reports
11COPY compose/opennms/env/supervisord.conf /etc/supervisor/supervisord.conf
Stephane Barbarie3eab2bb2017-04-24 15:04:23 -040012
13# Copy a new startup script to override the default entrypoint script
Stephane Barbarie95507c42017-09-19 10:41:04 -040014COPY compose/opennms/env/opennms_start.sh /
Stephane Barbarie3eab2bb2017-04-24 15:04:23 -040015RUN chmod 755 /opennms_start.sh
16
17ENTRYPOINT ["/usr/bin/supervisord"]