FROM debian:bookworm-slim

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update \
 && apt-get install -y --no-install-recommends \
      bash \
      bc \
      bison \
      build-essential \
      ca-certificates \
      ccache \
      cpio \
      curl \
      file \
      flex \
      gawk \
      git \
      gzip \
      libncurses-dev \
      make \
      nodejs \
      patch \
      perl \
      python3 \
      rsync \
      sed \
      tar \
      tree \
      unzip \
      wget \
      xz-utils \
 && rm -rf /var/lib/apt/lists/*

WORKDIR /workspace
