diff --git a/docker/.dockerignore b/docker/.dockerignore deleted file mode 100644 index dd449725e..000000000 --- a/docker/.dockerignore +++ /dev/null @@ -1 +0,0 @@ -*.md diff --git a/docker/Dockerfile b/docker/Dockerfile deleted file mode 100644 index aec69fd32..000000000 --- a/docker/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -FROM debian:stretch-slim - -LABEL MAINTAINER="theonlydoo " - -ARG RELEASE=1.8.0 -ARG DEBIAN_FRONTEND=noninteractive - -EXPOSE 5000 - -WORKDIR /app - -ADD https://github.com/guardicore/monkey/releases/download/${RELEASE}/infection_monkey_deb.${RELEASE}.tgz . - -RUN tar xvf infection_monkey_deb.${RELEASE}.tgz \ - && apt-get -yqq update \ - && apt-get -yqq upgrade \ - && apt-get -yqq install python-pip \ - python-dev \ - && dpkg -i *.deb \ - && rm -f *.deb *.tgz - -WORKDIR /var/monkey -ENTRYPOINT ["/var/monkey/monkey_island/bin/python/bin/python"] -CMD ["/var/monkey/monkey_island.py"] diff --git a/docker/README.md b/docker/README.md deleted file mode 100644 index 768730061..000000000 --- a/docker/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Improvements needed - -* Remove embedded mongodb from .deb, it forbids installation on a `debian:stretch` distro. -* Package monkey for system's python usage. -* Fix package number: (I installed the 1.5.2) -``` -ii gc-monkey-island 1.0 amd64 Guardicore Infection Monkey Island installation package -``` -* Use .deb dependencies for mongodb setup? -* Use docker-compose for stack construction. -* Remove the .sh script from the systemd unit file (`/var/monkey_island/ubuntu/systemd/start_server.sh`) which only does a `cd && localpython run` \ No newline at end of file diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml deleted file mode 100644 index 94a81b00e..000000000 --- a/docker/docker-compose.yml +++ /dev/null @@ -1,22 +0,0 @@ -version: '3.3' - -services: - db: - image: mongo:4 - restart: always - volumes: - - db_data:/data/db - environment: - MONGO_INITDB_DATABASE: monkeyisland - monkey: - depends_on: - - db - build: . - image: monkey:latest - ports: - - "5000:5000" - environment: - MONGO_URL: mongodb://db:27017/monkeyisland - -volumes: - db_data: