You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
748 B

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 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