add test build instructions
This commit is contained in:
parent
dab406281a
commit
a0935db098
10
Dockerfile
10
Dockerfile
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue