FROM debian:12
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get -y update                   \
    && apt-get -y install --no-install-recommends \
        ssh-client                      \
        cmake                           \
        pkg-config                      \
        build-essential                 \
        ninja-build                     \
        bash-completion                 \
        git                             \
        libboost-system-dev             \
        libboost-date-time-dev          \
        libgrpc++-dev                   \
        libprotobuf-dev                 \
        protobuf-compiler               \
        protobuf-compiler-grpc          \
        python3-pip                     \
        pipx                            \
    && apt-get -y clean                 \
    && rm -rf /var/lib/apt/lists/*

RUN pipx install grpcio-tools
