1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-09-18 13:31:40 +02:00
fastnetmon-rewritten/tests/Dockerfile.ubuntu-24.04
Denys Fedoryshchenko 8266f01d50
workflows,dockerfiles: Add basic build tests (#1011)
Add simple build tests using github workflows.
This is initial commit, and i suggest to inspect
if all dependencies installed.

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2024-07-16 00:42:55 +03:00

21 lines
735 B
Docker

FROM ubuntu:24.04
# non-interactive
ENV DEBIAN_FRONTEND noninteractive
# install build dependencies
RUN apt-get update
RUN apt-get install -y --no-install-recommends build-essential git ca-certificates cmake libssl-dev\
capnproto libcapnp-dev libelf-dev libbpf-dev libpcap-dev libgrpc-dev libgrpc++-dev libprotobuf-dev\
protobuf-compiler libprotoc-dev libprotobuf-dev protobuf-compiler-grpc libboost-dev\
libboost-serialization-dev libboost-thread-dev libboost-regex-dev libboost-program-options-dev\
libmongoc-dev liblog4cpp5-dev libncurses5-dev
# absl
RUN apt-get install -y --no-install-recommends libabsl-dev
COPY src/ /src/
WORKDIR /src
RUN mkdir build && cd build && cmake .. -DLINK_WITH_ABSL=ON\
&& make