mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-05-08 20:18:19 +00:00
Add a development eBPF container build
See `docs/ebpf.md` for how to use. This is built by CI or you can build manually if you customise the kernel. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
11
Makefile
11
Makefile
@@ -68,6 +68,17 @@ else
|
||||
$(error "git not clean")
|
||||
endif
|
||||
|
||||
EBPF_TAG=alpine/base/ebpf/ebpf.tag
|
||||
EBPF_IMAGE=mobylinux/ebpf:$(MEDIA_PREFIX)$(AUFS_PREFIX)$(TAG)
|
||||
ebpf: alpine/initrd.img alpine/kernel/x86_64/vmlinuz64
|
||||
ifeq ($(STATUS),)
|
||||
[ -f $(EBPF_TAG) ]
|
||||
docker tag $(shell cat $(EBPF_TAG)) $(EBPF_IMAGE)
|
||||
docker push $(EBPF_IMAGE)
|
||||
else
|
||||
$(error "git not clean")
|
||||
endif
|
||||
|
||||
get:
|
||||
ifeq ($(STATUS),)
|
||||
IMAGE=$$( docker create mobylinux/media:$(MEDIA_PREFIX)$(TAG) /dev/null ) && \
|
||||
|
||||
Reference in New Issue
Block a user