github.com/undoio/delve@v1.9.0/pkg/proc/internal/ebpf/build/build-ebpf-objects.sh (about) 1 #!/bin/bash -e 2 3 # The go generate command seems to not like being run from 4 # the vendor directory. Remove it and restore it after. 5 rm -rf vendor 6 7 restore_vendor() { 8 git checkout vendor 9 } 10 11 trap restore_vendor EXIT 12 13 docker run \ 14 -it \ 15 --rm \ 16 -v "$(pwd)":/delve-bpf \ 17 delve-ebpf-builder:v0.0.1