add test build instructions

This commit is contained in:
dave 2023-12-06 12:05:19 -08:00
parent dab406281a
commit a0935db098
1 changed files with 10 additions and 0 deletions

View File

@ -30,9 +30,19 @@ RUN apt-get update && \
update-alternatives --install /usr/bin/python python $(which python3) 2 && \
rm -rf /var/lib/apt/lists/*
# for testing a .deb file w/o repo, these lines can be substituted in above
# ADD nagios_4.5.0-6dpedu1_amd64.deb /tmp/nagios_4.5.0-6dpedu1_amd64.deb
# RUN ...
# DEBIAN_FRONTEND=noninteractive apt-get install -y wget gnupg iputils-ping libgd3 && \
# DEBIAN_FRONTEND=noninteractive dpkg -i /tmp/nagios_4.5.0-6dpedu1_amd64.deb && \
# ...
ADD conf/supervisor-all.conf /etc/supervisor/conf.d/
ADD sendmail.py /usr/local/bin/sendmail.py
ENTRYPOINT ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]