FROM debian:11.0 RUN \ apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get -y install \ make gcc g++ xz-utils lzip \ libmpc-dev libmpfr-dev libgmp-dev zlib1g-dev \ python3-minimal gawk bison rsync \ bzip2 flex libssl-dev bc \ && \ apt-get clean RUN mkdir /opt/sysroot RUN mkdir /build RUN useradd -U -u 1000 -d /build -M build RUN chown build:build /build USER build WORKDIR /build