FROM docker.io/library/debian:trixie

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update -yqq
RUN apt-get upgrade -yqq
RUN apt-get install -yqq \
           git \
           libextractor-dev \
           libjansson-dev \
           libgcrypt-dev \
           libqrencode-dev \
           libpq-dev \
           libmicrohttpd-dev \
           pkg-config \
           meson \
           python3-sphinx \
           python3-sphinx-book-theme \
           python3-sphinx-multiversion \
           python3-sphinx-rtd-theme \
           texinfo \
           curl \
	   libsqlite3-dev \
           libcurl4-openssl-dev \
           libsodium-dev \
           libidn11-dev \
           zlib1g-dev \
           libunistring-dev \
           iptables

# Debian packaging tools
RUN apt-get install -yqq \
                   po-debconf \
                   build-essential \
                   debhelper-compat \
                   devscripts \
                   git-buildpackage \
   && rm -rf /var/lib/apt/lists/*

WORKDIR /workdir

CMD ["/bin/bash"]
