FROM ubuntu RUN apt-get update \ && apt-get install -yq wget build-essential file cpio rsync bc unzip python3 WORKDIR / RUN wget https://github.com/buildroot/buildroot/archive/2022.02.tar.gz \ && tar xf *.gz \ && rm -fv *.gz \ && mv -fv buildroot-* build WORKDIR /build ADD config-seed .config RUN make olddefconfig \ && make toolchain