FROM debian:10.10 RUN apt-get update && apt-get -y install build-essential && apt-get clean RUN mkdir /opt/sysroot RUN mkdir /home/build RUN useradd -r -U -u 800 -d /work -M build RUN chown build:build /home/build USER build WORKDIR /home/build