c6fc / npk

A mostly-serverless distributed hash cracking platform
508 stars 59 forks source link

Docker release #5

Closed AlphaGit closed 3 years ago

AlphaGit commented 3 years ago

(This PR superseeds https://github.com/Coalfire-Research/npk/pull/62)

Added a dockerfile that builds a docker image to use npk. This provides the benefit for users to run npk through a single command line.

This prevents everyone from dealing with multiple terraform, python, pip and node versions that do not quite work together.

Could be done in a future enhancement:

I decided to keep these changes out since this version is currently functional and only requires users to edit text files. This can also be done by mounting a volume in the right directory, but this feels more like user documentation than a feature to be built.

c6fc commented 3 years ago

I actually already pulled this PR across from CoalfireLabs repo and merged this into the dev branch. I'm pretty sure I managed to retain you as the contributor as well. I just moved it to main - thanks for the contribution.

c6fc commented 3 years ago

If you want to commit the optimizations you made, feel free to re-open against the dev branch to avoid conflicts

AlphaGit commented 3 years ago

Ah, cool! Thank you! Not sure how I missed it. I'll take a look and I might create that PR with the small optimization -- but they're not mostly trivial.

Thank you!