Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 852 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 852 Bytes

Docker Yocto Builder

Dockerfile's which describes a container capable of building Yocto Images.

  • Working with Yocto Rocko, Dunfell and Kirkstone.

  • How to build:

docker build -t yocto-rocko -f Dockerfile.rocko .
docker build -t yocto-dunfell -f Dockerfile.dunfell .
docker build -t yocto-kirkstone -f Dockerfile.kirkstone .
  • How to run:
docker run --rm -it --privileged -v <my-folder-project>:/home/yocto/poky -v /tmp:/tmp -v /etc/localtime:/etc/localtime yocto-<version>:latest

Note: Replace with the folder where all the Yocto files are (like Poky, for example) and with rocko, dunfell or kirkstone.

If you want a ncurses menu to select the right container, there is an example on menu_entry.sh script.

Available containers at https://hub.docker.com/repositories/hiagofranco.