A docker image containing ready-to-use toolchains from bootlin.com.
The image also contains an entrypoint.sh file to add the toolchains to the PATH.
You can use the image simply by pulling it from the container registry:
docker pull nadavtasher/toolchains:latestThen use docker run to run a shell / compiler inside of the container:
docker run --rm -it -v $PWD:/build:ro -v $PWD/bin:/build/bin:rw -w /build -h builder --tmpfs /tmp nadavtasher/toolchains:latest bashYou can also use the example directory to create a project that uses this image to compile your sources.