From 09e7d7c379cfee527ff5c8090ddadc1716f66752 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 17 Dec 2020 18:29:51 +0100 Subject: Docker: T2666: provide libbpf support --- docker/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index 6bef8b49..edd9589b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -456,6 +456,12 @@ RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \ gcc-multilib; \ fi +# Install libbpf packages from Debian Buster Backports +RUN echo "deb http://deb.debian.org/debian/ buster-backports main" \ + > /etc/apt/sources.list.d/buster-backports.list && \ + apt-get update && apt-get install -y -t buster-backports libbpf-dev && \ + rm -f /etc/apt/sources.list.d/jessie-backports.list + # Install open-vmdk RUN wget -O /tmp/open-vmdk-master.zip https://github.com/vmware/open-vmdk/archive/master.zip && \ unzip -d /tmp/ /tmp/open-vmdk-master.zip && \ -- cgit v1.2.3