rm objects
This commit is contained in:
parent
f65ec4a259
commit
61c8f97ede
|
@ -247,7 +247,7 @@ COPY overlay/opt/nagios/libexec/* ${NAGIOS_HOME}/libexec/
|
|||
#COPY overlay/usr ${NAGIOS_HOME}/usr
|
||||
|
||||
RUN cd /opt/nagios/etc/objects && \
|
||||
rm -f commands.cfg contacts.cfg printer.cfg switch.cfg templates.cfg windows.cfg
|
||||
rm -f commands.cfg printer.cfg switch.cfg templates.cfg windows.cfg
|
||||
|
||||
RUN sed -i 's,/bin/mail,/usr/bin/mail,' ${NAGIOS_HOME}/etc/objects/000-commands.cfg && \
|
||||
sed -i 's,/usr/usr,/usr,' ${NAGIOS_HOME}/etc/objects/000-commands.cfg
|
||||
|
|
|
@ -12,7 +12,7 @@ services:
|
|||
build:
|
||||
dockerfile: Dockerfile
|
||||
container_name: nagios
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:241230.0.4
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:241230.0.5
|
||||
networks:
|
||||
infra_dev_net:
|
||||
ipv4_address: 10.99.23.36
|
||||
|
|
Loading…
Reference in New Issue