First commit

This commit is contained in:
MassiveBox 2022-08-20 19:41:38 +02:00
commit ae520ca016
3 changed files with 39 additions and 0 deletions

20
Dockerfile Normal file
View file

@ -0,0 +1,20 @@
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