Create entrypoint to orchestrate the build steps
Supported commands: make, ninja
Passes additional arguments to the make / ninja command at the end (like -jNN)
There is a shortcut to make -jNN by just specifying -jNN
Anything else will be directly executed (like getting a shell into the container with bash -li is still possible)
dockerfile for compiling a local folder that contains the sourcecode, instead of pulling a fresh copy every time.
To prepare to compile Havoc in Windows/Linux/Mac Docker for example, in the path of the sourcecode:
docker build -t portapack -f dockerfile-nogit .
And then:
docker run -v ${PWD}:/havoc portapack
The bin file will be on the build directory now.