Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
SUDO ?= $(shell if ! groups | grep -q docker; then echo sudo; fi)

build :
docker build -t flan_scan .
$(SUDO) docker build -t flan_scan .

container_name = flan_$(shell date +'%s')
start :
docker run --name $(container_name) -v $(shell pwd)/shared:/shared flan_scan
$(SUDO) docker run --rm --name $(container_name) -v $(shell pwd)/shared:/shared flan_scan