Skip to content

Dockerfile to build a container capable of building yocto images.

License

Notifications You must be signed in to change notification settings

hiagofranco/docker-yocto-builder

Repository files navigation

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.

About

Dockerfile to build a container capable of building yocto images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published