# Configuration file to install the recipe dependencies inside the Podman container

FROM debian:trixie

# _UID_ must be replaced with the user's uid on host
# podman root is mapped to your user id on host during build,
# poduser is mapped to your user id during podman run
RUN useradd --create-home --no-log-init --uid _UID_ poduser \
    && chown -R root:root /home \
    && apt-get update \
    && apt-get install -y --no-install-recommends \
        ant \
        appstream \
        appstream-compose \
        autoconf \
        autoconf2.69 \
        automake \
        autopoint \
        bison \
        bsdextrautils \
        build-essential \
        clang \
        cmake \
        curl \
        dos2unix \
        doxygen \
        expect \
        file \
        flex \
        fuse3 \
        g++ \
        genisoimage \
        git \
        git-lfs \
        gperf \
        gtk-doc-tools \
        help2man \
        intltool \
        libc6-dev-i386 \
        libexpat-dev \
        libfontconfig1-dev \
        libfuse3-dev \
        libgdk-pixbuf2.0-bin \
        libglib2.0-dev-bin \
        libgmp-dev \
        libhtml-parser-perl \
        libjpeg-dev \
        libmpfr-dev \
        libparse-yapp-perl \
        libpng-dev \
        libsdl1.2-dev \
        libsdl2-ttf-dev \
        llvm \
        lua5.4 \
        lzip \
        m4 \
        make \
        meson \
        nasm \
        ninja-build \
        patch \
        patchelf \
        perl \
        pkg-config \
        po4a \
        protobuf-compiler \
        python3 \
        python3-dev \
        python3-mako \
        python3-venv \
        rsync \
        ruby \
        scons \
        ssh \
        syslinux-utils \
        texinfo \
        unifdef \
        unzip \
        wget \
        xdg-utils \
        xfonts-utils \
        xorg-dev \
        xutils-dev \
        xxd \
        zip \
        zlib1g-dev \
        zstd
