This is a Docker container for Buildroot building. It was created to support the Firefly Open Source Project.
It currently only supports to ROC-RK3308-CC Buildroot SDK.
- Get the project
$ git clone https://github.com/T-Firefly/buildroot-builder.git
- Go into root of buildroot-builder
$ cd buildroot-builder
- Generating a Docker image
$ docker build -t buildroot-builder .
The container default working directory is /home/project
, it is also a mountpoint that can be used to mount your current working directory into the container, like:
docker run -it --rm \
-e USER_ID=1000 \
--mount type=bind,source="$PWD",target="/home/project" \
buildroot-builder \
/bin/bash