FROM debian:bullseye

RUN groupadd -g 1000 builduser && useradd -m -r -u 1000 -g builduser builduser

RUN apt update -y
RUN apt upgrade -y
RUN apt install -y git jq python3 python3-pip file wget cpio unzip rsync bc dosfstools zip mtools libssl-dev gnutls-dev
RUN pip3 install jinja2

USER 1000:1000
