summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-08 21:27:22 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-08 21:27:32 +0100
commit72b507b44fe5858a87ca3f0013f6f0e17b573d8f (patch)
treecc2517a718caec03095c8bb476825c4f96094356 /docker
parent9ce186f327603612b3c0fd49104215947eef246c (diff)
downloadvyos-build-72b507b44fe5858a87ca3f0013f6f0e17b573d8f.tar.gz
vyos-build-72b507b44fe5858a87ca3f0013f6f0e17b573d8f.zip
Docker: fix netfilter build dependencies
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile24
1 files changed, 23 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 6cfd3ffe..ea983464 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -448,14 +448,35 @@ RUN if dpkg-architecture -iarm64; then \
grub-efi-arm; \
fi
+# Packages needed for libnftnl
+RUN apt-get update && apt-get install -y \
+ debhelper-compat \
+ libmnl-dev \
+ libtool \
+ pkg-config
+
# Packages needed for nftables
RUN apt-get update && apt-get install -y \
asciidoc-base \
+ automake \
+ bison \
+ debhelper-compat \
+ dh-python \
+ docbook-xsl \
+ flex \
+ libgmp-dev \
libjansson-dev \
- python3-all
+ libmnl-dev \
+ libreadline-dev \
+ libtool \
+ libxtables-dev \
+ python3-all \
+ python3-setuptools \
+ xsltproc
# Packages needed for libnetfilter-conntrack
RUN apt-get update && apt-get install -y \
+ debhelper-compat \
libmnl-dev \
libnfnetlink-dev \
libtool
@@ -463,6 +484,7 @@ RUN apt-get update && apt-get install -y \
# Packages needed for conntrack-tools
RUN apt-get update && apt-get install -y \
bison \
+ debhelper \
flex \
libmnl-dev \
libnetfilter-cthelper0-dev \