FROM debian:stable

# for Forgejo Actions
RUN apt update && apt install -y --no-install-recommends nodejs git ca-certificates && apt clean

# Hamnet70 build dependencies
RUN apt install -y --no-install-recommends cmake make gcc libc-dev libliquid-dev libhackrf-dev libfec-dev libfftw3-dev && apt clean

# run as unprivileged user in the container
RUN useradd -m ciuser
USER ciuser