summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-17 18:29:51 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-17 18:29:51 +0100
commit09e7d7c379cfee527ff5c8090ddadc1716f66752 (patch)
tree1c649090ea50765a439484bd22bf4200c8cc1ce4 /docker
parent7a4942d1e98575079e7017dd8579bfa3490f2a33 (diff)
downloadvyos-build-09e7d7c379cfee527ff5c8090ddadc1716f66752.tar.gz
vyos-build-09e7d7c379cfee527ff5c8090ddadc1716f66752.zip
Docker: T2666: provide libbpf support
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile6
1 files changed, 6 insertions, 0 deletions
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 && \