
Adds a few build scripts and a container image for reproducible builds of the ebpf programs.
18 lines
309 B
Bash
Executable File
18 lines
309 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# The go generate command seems to not like being run from
|
|
# the vendor directory. Remove it and restore it after.
|
|
rm -rf vendor
|
|
|
|
restore_vendor() {
|
|
git checkout vendor
|
|
}
|
|
|
|
trap restore_vendor EXIT
|
|
|
|
docker run \
|
|
-it \
|
|
--rm \
|
|
-v "$(pwd)":/delve-bpf \
|
|
delve-ebpf-builder:v0.0.1
|