Remove supervisord

This commit is contained in:
Paul-Emmanuel Raoul 2018-11-29 16:20:55 +00:00
parent 290ee213fd
commit f3ce6c08c5
2 changed files with 3 additions and 7 deletions

View File

@ -16,11 +16,9 @@ RUN tar xvf infection_monkey_deb.${RELEASE}.tgz \
&& apt-get -yqq upgrade \ && apt-get -yqq upgrade \
&& apt-get -yqq install python-pip \ && apt-get -yqq install python-pip \
python-dev \ python-dev \
libssl-dev \
supervisor \
&& dpkg -i *.deb \ && dpkg -i *.deb \
&& rm -f *.deb *.tgz && rm -f *.deb *.tgz
COPY stack.conf /etc/supervisor/conf.d/stack.conf WORKDIR /var/monkey
ENTRYPOINT ["/var/monkey/monkey_island/bin/python/bin/python"]
ENTRYPOINT [ "supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf" ] CMD ["/var/monkey/monkey_island.py"]

View File

@ -1,2 +0,0 @@
[program:monkey]
command=/var/monkey/monkey_island/ubuntu/systemd/start_server.sh