This is a dockerfile that uses the local source instead of pulling a fresh copy from git, and additionally installs ccache for a fast compilation (with few changes the compile time could be less than a minute instead of the normal very long process):
For building:
docker build -t portapackccache -f dockerfile-nogit .
For running (in the root of the repo):
docker run -it -v ${PWD}:/havoc portapackccache
For subsequential runs I use Kinematic to call this same instance, as seen in the upper gif. If you run it again, it might create a new container, hence losing the benefits of ccache.
This is a dockerfile that uses the local source instead of pulling a fresh copy from git, and additionally installs ccache for a fast compilation (with few changes the compile time could be less than a minute instead of the normal very long process):
For building:
docker build -t portapackccache -f dockerfile-nogit .
For running (in the root of the repo):
docker run -it -v ${PWD}:/havoc portapackccache
For subsequential runs I use Kinematic to call this same instance, as seen in the upper gif. If you run it again, it might create a new container, hence losing the benefits of
ccache
.It is also in Docker Hub.