Get working with docker cli args

This commit is contained in:
Owen Schwartz
2024-09-29 15:14:23 -04:00
parent 8f7f2de645
commit d63ab8336e
5 changed files with 18 additions and 10 deletions

View File

@@ -1,4 +1,11 @@
all:
all:
docker build -t gerbil .
test:
docker run -it -p 3002:3002 -v ./config_example.json:/config/config.json --cap-add=NET_ADMIN --cap-add=SYS_MODULE gerbil ./gerbil --config /config/config.json
local:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o gerbil
clean: