infinite-omicron / pentesting-vm

Penetration Testing Virtual Machine
GNU General Public License v3.0
2 stars 2 forks source link

Docker #8

Closed oxr463 closed 1 year ago

oxr463 commented 2 years ago

For running in Kubernetes

oxr463 commented 2 years ago

Depends on https://github.com/oxr463/pentesting-vm/issues/9

oxr463 commented 2 years ago

It's possible for this one that we could use upstream images for each tool and then write a Kubernetes manifest to spin up an init container to run the tool...depending on how the tool works.

oxr463 commented 2 years ago

The latest commit (https://github.com/infinite-omicron/pentesting-vm/commit/ff83938d79d26d28ba454e8045b8378a00c2a0e9), creates a docker image, but it doesn't seem to create a tag name for the image.

outzhu commented 2 years ago

Fixed Docker repository/tag with Docker Tag Post-Processor. I used pentesting and 2020.08.0.alpha for repository/tag.

oxr463 commented 2 years ago

Fixed Docker repository/tag with Docker Tag Post-Processor. I used pentesting and 2020.08.0.alpha for repository/tag.

Let's name it ghcr.io/infinite-omicron/pentesting:latest. Once we are ready for release, we can push the 2020.08.0.alpha tag.

oxr463 commented 2 years ago

I noticed this in the logs:

pentesting-docker.docker.alpine: /bin/sh: sudo: not found

Alpine doesn't come with sudo out of the box. We would need to install it.

oxr463 commented 1 year ago

Is this issue ready to be closed?

outzhu commented 1 year ago

When we finish merging https://github.com/infinite-omicron/pentesting-vm/pull/27 then yeah.