Skip to content

Commit

Permalink
add make clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Quinten Van Damme authored Feb 1, 2024
1 parent da7e664 commit 1807631
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.PHONY: build clean

OUTPUT_DIR=/buildroot_output

DOCKER_RUN=docker run \
Expand All @@ -19,3 +21,7 @@ volumes:
build: pull volumes
@echo "make O=$(OUTPUT_DIR)"
$(DOCKER_RUN) make O=$(OUTPUT_DIR)

clean:
docker ps -q --filter ancestor=ghcr.io/dahliaos/build_linux:latest | xargs docker stop
docker ps -a -q --filter ancestor=ghcr.io/dahliaos/build_linux:latest | xargs docker rm

0 comments on commit 1807631

Please sign in to comment.