The gbdk-n builder image allows building GameBoy ROMs from a single C source file without any installation requirements.
Under to hood it bundles the gbdk-n libraries and helper scripts as well a current version of the Small Device C Compiler (SDCC).
docker run --rm -i christiansiegel/gbdk-n-builder < example.c > example.gb
Please see the gbdk-n project for detailed documentation.
Useful links: