Scripts for building bpftool
Go to file
Shaun Crampton b8382d2bb7
Merge pull request #9 from projectcalico/rev-to-v7.5
Rev bpftool to v7.5.0; get Makefile working
2025-02-10 14:12:35 +00:00
Dockerfile Upgrade to bpftool v7.4 2024-06-18 20:08:22 -07:00
Makefile Rework Makefile to use buildx and multi-platform builds. 2025-02-07 13:33:56 +00:00
README.md Rework Makefile to use buildx and multi-platform builds. 2025-02-07 13:33:56 +00:00

README.md

Calico bpftool

Base image including a statically compiled bpftool for other calico projects to use.

Building the image

To build the multi-arch image:

Make sure you have configured docker for multi-arch builds: enable the containerd image store. Then:

make image

To build a single-arch image for your system:

make image-single-platform

To build for specific platforms, use the DOCKER_PLATFORMS variable:

make image DOCKER_PLATFORMS=linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x

To build/push the image:

make push