From f3ce6c08c57248dadfd4b488fd29c16651384185 Mon Sep 17 00:00:00 2001 From: Paul-Emmanuel Raoul Date: Thu, 29 Nov 2018 16:20:55 +0000 Subject: [PATCH] Remove supervisord --- docker/Dockerfile | 8 +++----- docker/stack.conf | 2 -- 2 files changed, 3 insertions(+), 7 deletions(-) delete mode 100644 docker/stack.conf diff --git a/docker/Dockerfile b/docker/Dockerfile index 762b20a7d..2d0d0b55b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -16,11 +16,9 @@ RUN tar xvf infection_monkey_deb.${RELEASE}.tgz \ && apt-get -yqq upgrade \ && apt-get -yqq install python-pip \ python-dev \ - libssl-dev \ - supervisor \ && dpkg -i *.deb \ && rm -f *.deb *.tgz -COPY stack.conf /etc/supervisor/conf.d/stack.conf - -ENTRYPOINT [ "supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf" ] +WORKDIR /var/monkey +ENTRYPOINT ["/var/monkey/monkey_island/bin/python/bin/python"] +CMD ["/var/monkey/monkey_island.py"] diff --git a/docker/stack.conf b/docker/stack.conf deleted file mode 100644 index e84d508aa..000000000 --- a/docker/stack.conf +++ /dev/null @@ -1,2 +0,0 @@ -[program:monkey] -command=/var/monkey/monkey_island/ubuntu/systemd/start_server.sh