This repository contains the Dockerfiles for the Sipeed builder containers.
The containers are published into the Docker Hub, so you can use them directly from there.
To build your project using the container, please run the following command:
docker run --rm -v <project-src-folder>:/data/code/<project-name> \
-v <project-out-folder>:/data/code/build_out \
-e PROJECT_NAME=<project-name> \
r12f/bl808-builder:latest
For example:
docker run --rm -v ~/code/sipeed/bl808/M1s_BL808_example/c906_app/hello_world:/data/code/hello_world \
-v ~/code/sipeed/bl808/M1s_BL808_example/c906_app/out:/data/code/build_out \
-e PROJECT_NAME=hello_world \
-e BL808_BUILD_KEEP_BUILDER=1 \
r12f/bl808-builder:latest