mirror of
https://github.com/fosrl/gerbil.git
synced 2026-02-08 05:56:40 +00:00
Add entrypoint script
This commit is contained in:
2
Makefile
2
Makefile
@@ -3,7 +3,7 @@ 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
|
||||
docker run -it -p 3002:3002 -v ./config_example.json:/config/config.json --cap-add=NET_ADMIN --cap-add=SYS_MODULE gerbil --config /config/config.json
|
||||
|
||||
local:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o gerbil
|
||||
|
||||
Reference in New Issue
Block a user