solo-io / bumblebee

Get eBPF programs running from the cloud to the kernel in 1 line of bash
Apache License 2.0
1.26k stars 78 forks source link

cleanup build command for local (`-l`) mode #18

Open lgadban opened 2 years ago

lgadban commented 2 years ago
$ go run -exec sudo ./bee/main.go build -l examples/tcpconnect/tcpconnect.c 2-bad-tcpconnect.o
 ▄ Compiling BPF program locally (0s)Successfully compiled "examples/tcpconnect/tcpconnect.c" and wrote it to "examples/tcpconnect/tcpconnect.o"
 SUCCESS  Successfully compiled "examples/tcpconnect/tcpconnect.c" and wrote it to "examples/tcpconnect/tcpconnect.o"                                                                                                                                                                                                  
 SUCCESS  Saved BPF OCI image to 2-bad-tcpconnect.o 

need to fix or correctly doc how to build locally without docker and storing in image, output flag may be important here