Stephane Barbarie | 3eab2bb | 2017-04-24 15:04:23 -0400 | [diff] [blame] | 1 | # Build from latest stable load |
2 | FROM opennms/horizon-core-web:19.0.1-1 | ||||
3 | |||||
4 | # Install supervisord | ||||
5 | RUN yum install -y python-setuptools | ||||
6 | RUN easy_install supervisor | ||||
7 | RUN mkdir -p /var/log/supervisor | ||||
8 | COPY env/supervisord.conf /etc/supervisor/supervisord.conf | ||||
9 | |||||
10 | # Copy a new startup script to override the default entrypoint script | ||||
11 | COPY env/opennms_start.sh / | ||||
12 | RUN chmod 755 /opennms_start.sh | ||||
13 | |||||
14 | ENTRYPOINT ["/usr/bin/supervisord"] |