Skip to content

Port RustScan to Docker Images #98

@CMNatic

Description

@CMNatic

Is your feature request related to a problem? Please describe.
Port the entire installation process to docker images. At the moment, you gotta install rust & cargo for a singular project. Also, the docker image to build the .deb is 2.6GB~alone

Describe the solution you'd like
Installing RustScan, cargo dependencies and nmap in minimal docker images so they can be pulled and arguments parsed at the command line.

Current Features:

  • Dockerfile also installs dependencies based upon the architecture (i.e. amd64, i3686, arm64)
  • Debian-Buster image is 692MB and can be run in one command, over the builder that is 2.6GB where a .deb then needs to be installed
  • Builds latest successful cargo release (and from source) so no Dockerfile maintenance for newer versions
  • Arguments can be parsed in one docker pull command
  • De-restricts OS ulimit use ulimit -n 100000;

TODO / QoL:

  • Port to Alpine
  • Become more familiar with rust & cargo to further minimise and decrease build time (~4 mins)
  • Allow ulimit to be enabled / disabled (increased ulimit uses more resources on host that's running the container)

Describe alternatives you've considered
None.

Additional context
Add any other context or screenshots about the feature request here.

Docker image size:
image

Usage:
image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions