FROM ubuntu:jammy-20260210.1
ENV DEBIAN_FRONTEND=noninteractive
RUN set -e; \
apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
meson \
ninja-build \
pkg-config \
python3 \
python3-pip \
libbsd-dev && \
rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
COPY . /workspace
RUN set -e; \
meson setup build -Dwarning_level=3 -Dbuildtype=debug && \
meson compile -C build --verbose && \
meson test -C build --verbose
CMD ["/bin/bash"]