0xricksanchez / like-dbg

Fully dockerized Linux kernel debugging environment
MIT License
732 stars 58 forks source link

Add an update functionality that rebuilds containers #108

Closed 0xricksanchez closed 1 year ago

0xricksanchez commented 1 year ago

As changes to the code base and docker containers do happen (frequently), some of them might contain breaking changes. So we should add another CLI flag --update that does a git pull followed by a re-build of all containers. This ensure more stability.

For that, we should refactor the docker class in a way that there's a new function def rebuild() that just builds the containers as in a normal run but exits afterwards.

0xricksanchez commented 1 year ago

Implemented in #110 in a way that a git pull is still to be done manually, but updating all containers in a batch process is now easily done by executing ./start_kgdb -u