Docker image to build a Yocto Linux project on an arbitrary develioment workstation.
Is focused on building NXP Yocto layer at version L4.14.78_1.0.0. So it starts from Ubuntu 16.04.
docker build -t alienmind85/yocto-builder:L4.14.78 .
- USER_NANE: name of the user to create (into code below we use the same user whach are running the image);
- USER_CMD: relative path of the script or binary file to launch at user login.
Attemption: the system assumes as root folder the one where the user launches the container and the script/binary file must to be in that folder or in a his subfolder.
- handless: execute a single task passed as argument (a script or binary file);
- interactive: the user can use commands from shell
docker run -it --rm -v $(pwd):$(pwd) -v /dev:/dev -v /proc:/proc -v /sys:/sys -w $(pwd) -e USER_NAME=$(whoami) -e USER_CMD=<script/binary> alienmind85/yocto-builder:L4.14.78 bash
docker run -it --rm -v $(pwd):$(pwd) -v /dev:/dev -v /proc:/proc -v /sys:/sys -w $(pwd) -e USER_NAME=$(whoami) alienmind85/yocto-builder:L4.14.78 bash
Davide Cardillo, alias AlienMind
Github name: alienmind85
mail: cardillo.davide85@gmail.com