FROM debian:bullseye RUN apt-get update; \ apt-get upgrade -y; \ apt-get install git make gcc file g++ wget cpio python unzip rsync bc bzip2 mercurial squashfs-tools -y; \ git clone https://github.com/retrofw/buildroot-retrofw-2.3.git buildroot; \ mkdir mount WORKDIR buildroot RUN git checkout remotes/origin/2021.11.x; \ make RetroFW_defconfig BR2_EXTERNAL=board/retrofw; \ env FORCE_UNSAFE_CONFIGURE=1 make toolchain sdl sdl_image sdl_mixer sdl_sound; \ echo 'export PATH=/buildroot/output/host/bin:/buildroot/output/host/mipsel-RetroFW-linux-uclibc/sysroot/usr/bin:$PATH' >> ~/.bashrc RUN make sdl_ttf WORKDIR /mount ENTRYPOINT echo "Container started, now execute bash shell to continue."; sleep infinity