make: clean up container after linting

Currently `make lint` creates a new container each time it runs. We can
automatically delete these containers once linting is done by using the
--rm flag.
This commit is contained in:
Matt Morehouse committed 2023-04-18 15:20:14 -05:00
1 parent 517f8ed842
commit 526075be57
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ ifneq ($(workers),)
LINT_WORKERS = --concurrency=$(workers)
endif
DOCKER_TOOLS = docker run -v $$(pwd):/build lnd-tools
DOCKER_TOOLS = docker run --rm -v $$(pwd):/build lnd-tools
GREEN := "\\033[0;32m"
NC := "\\033[0m"