From 526075be57738747c408b7df6e4fa9493449f0cb Mon Sep 17 00:00:00 2001 From: Matt Morehouse Date: Tue, 18 Apr 2023 15:20:14 -0500 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d563b3dd9..8c08fd614 100644 --- a/Makefile +++ b/Makefile @@ -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"