A Docker-powered GCC cross compiler toolchain for building bootable images and operating system services. This uses the method described by OSDev wiki to make an i686-elf cross compiler.
Get the prebuilt image via Docker Hub:
docker pull qsrahmans/i686-elf-gcc:dev
Using the compiler:
docker run --rm qsrahmans/i686-elf-gcc:dev bash -c 'i686-elf-gcc --version'
GRUB is also available in this image:
docker run --rm qsrahmans/i686-elf-gcc:dev bash -c 'grub-mkrescue --version'
docker run --rm -it qsrahmans/i686-elf-gcc:dev -v "${PWD}":/home/devuser/work
docker build -t qsrahmans/i686-elf-gcc:dev .