# Lightweight base image for running Python unit tests.
# Based on https://hub.docker.com/layers/library/python/3.11-slim-trixie/images.
FROM quay.io/pypa/manylinux_2_28_x86_64:latest


# Install system dependencies required for building C extensions (like evdev)
# - build-essential: gcc, make, etc.
# - linux-libc-dev: Linux kernel headers (fixes 'linux/input.h missing' error)
# - wget: Required for protoc setup.
# - unzip: Unzipping files
# - libgl1: OpenGL libraries required for OpenCV.
# - libglib2.0-0: GLib libraries required for OpenCV.
RUN dnf install -y git wget unzip && \
    dnf clean all && \
    rm -rf /var/cache/dnf

# Default command
CMD ["/bin/bash"]
