summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-08 12:14:20 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-08 12:15:18 +0200
commit1ed81ddec34646edbe70446877298c9bc7e35d8d (patch)
tree675449830666776a00036592b0fd91aecc2f8128 /docker/Dockerfile
parent992c7b5e8a4e25b835d4cc8885bc474c6e4bf52f (diff)
downloadvyos-build-1ed81ddec34646edbe70446877298c9bc7e35d8d.tar.gz
vyos-build-1ed81ddec34646edbe70446877298c9bc7e35d8d.zip
Docker: add build dependencies for fastnetmon
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 878b6b41..f361875c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -519,6 +519,31 @@ RUN apt-get update && apt-get install -y \
udev \
zip
+# Packages needed for Fastnetmon
+RUN if dpkg-architecture -ii386 || dpkg-architecture -iamd64; then \
+ apt-get update && apt-get install -y \
+ build-essential \
+ make \
+ autoconf \
+ automake \
+ libtool \
+ cmake \
+ pkg-config \
+ capnproto \
+ libcapnp-dev \
+ libgrpc++-dev \
+ libgrpc-dev \
+ libgrpc10 \
+ libprotobuf-dev \
+ protobuf-compiler \
+ protobuf-compiler-grpc \
+ libboost-thread1.74-dev \
+ libboost-regex1.74-dev \
+ libboost-program-options1.74-dev \
+ libmongoc-dev \
+ liblog4cpp5-dev; \
+ fi
+
#
# fpm: a command-line program designed to help you build packages (e.g. deb)
#