diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-08 21:27:22 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-08 21:27:57 +0100 |
commit | 7ee3836ee720eedebbc0d96e7d995d3d3844d3b4 (patch) | |
tree | 229484118b94afa5488497f8ea2d7929f679cf27 /docker | |
parent | b71a23e26e34299ed93a8a3f286b31e855a5133d (diff) | |
download | vyos-build-7ee3836ee720eedebbc0d96e7d995d3d3844d3b4.tar.gz vyos-build-7ee3836ee720eedebbc0d96e7d995d3d3844d3b4.zip |
Docker: fix netfilter build dependencies
(cherry picked from commit 72b507b44fe5858a87ca3f0013f6f0e17b573d8f)
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 24 |
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 \ |