From 489677b7e30e7fb62fe42ef51b22ffa59dfe94b4 Mon Sep 17 00:00:00 2001 From: Mahe Tardy Date: Fri, 12 Jan 2024 19:51:55 +0100 Subject: [PATCH] Dockerfile: bump bpftool revision to 7.3.0 Previous version failed to build on old kernels, see libbpf/bpftool#17 for more information. Signed-off-by: Mahe Tardy --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b53edcd2e0..6da39d03c53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,8 +53,8 @@ RUN apt-get update RUN if [ $BUILDARCH != $TARGETARCH ]; \ then apt-get install -y curl git llvm gcc pkg-config zlib1g-dev libelf-dev libelf-dev:arm64 libcap-dev:arm64 crossbuild-essential-$TARGETARCH; \ else apt-get install -y curl git llvm gcc pkg-config zlib1g-dev libelf-dev libcap-dev; fi -# v7.1.0 -ENV BPFTOOL_REV "b01941c8f7890489f09713348a7d89567538504b" +# v7.3.0 +ENV BPFTOOL_REV "687e7f06f2ee104ed6515ec3a9816af77bfa7a17" RUN git clone --recurse-submodules https://github.com/libbpf/bpftool.git . && git checkout ${BPFTOOL_REV} RUN if [ $BUILDARCH != $TARGETARCH ]; \ then make -C src EXTRA_CFLAGS=--static CC=aarch64-linux-gnu-gcc -j $(nproc) && aarch64-linux-gnu-strip src/bpftool; \