summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-08 20:08:53 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-08 20:08:53 +0100
commit51c1ea1da3a85caf401735d166fa6dac9effff36 (patch)
treeedf69aa3a7aacbd1b19505f069c3bda0347de537
parentb00025ee86fdf14b0d7c79a90eac23f3950d2770 (diff)
downloadvyos-build-51c1ea1da3a85caf401735d166fa6dac9effff36.tar.gz
vyos-build-51c1ea1da3a85caf401735d166fa6dac9effff36.zip
Docker: add wireguard and iproute2 build dependencies
-rw-r--r--docker/Dockerfile42
1 files changed, 25 insertions, 17 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index ee3e31d2..a801940c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -216,30 +216,38 @@ RUN apt-get update && apt-get install -y \
automake \
cpio
-# Packages needed for kernel
+# Packages needed for Linux Kernel
RUN apt-get update && apt-get install -y \
- rsync \
- libmnl-dev \
libncurses5-dev \
flex \
bison \
- libelf-dev \
bc \
kmod \
+ cpio
+
+# Packages needed for wireguard
+RUN apt-get update && apt-get install -y \
+ debhelper-compat \
dkms \
- cdbs \
- cmake \
- elfutils \
- libdw-dev \
- systemtap-sdt-dev \
- libunwind-dev \
- libslang2-dev \
- python-dev \
- libiberty-dev \
- binutils-dev \
- libnuma-dev \
- libbabeltrace-dev \
- liblua5.3-dev
+ pkg-config \
+ systemd
+
+# Packages needed for iproute2
+RUN apt-get update && apt-get install -y \
+ bison \
+ debhelper \
+ flex \
+ iptables-dev \
+ libatm1-dev \
+ libcap-dev \
+ libdb-dev \
+ libelf-dev \
+ libmnl-dev \
+ libselinux1-dev \
+ linux-libc-dev \
+ pkg-config \
+ po-debconf \
+ zlib1g-dev
# Prerequisites for building rtrlib
# see http://docs.frrouting.org/projects/dev-guide/en/latest/building-frr-for-debian8.html