blob: 241d4e299c085728296895e732d9b0bf552ce79c [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
8COPY env/supervisord.conf /etc/supervisor/supervisord.conf
9
10# Copy a new startup script to override the default entrypoint script
11COPY env/opennms_start.sh /
12RUN chmod 755 /opennms_start.sh
13
14ENTRYPOINT ["/usr/bin/supervisord"]