Sign inSign up

man0wee/oe-builder

By man0wee

•Updated almost 3 years ago

Conateiner Image for OpenEmbedded / Yocto Project

Image
0

945

man0wee/oe-builder repository overview

⁠Conateiner Image for OpenEmbedded / Yocto Project

git address https://github.com/ManuW/oe-yp-container-image.git⁠

A container image which containes all packages to build an image with OpenEmbedded / Yocto Project.

⁠Image

Some details about the container image

⁠OpenEmbedded / Yocto Project Example Usage

# Run container
# - Remove after exit container
# - Mount volume oe-workspace
docker run -it --rm --volume oe-workspace:/home/builder/workspace man0wee/oe-builder

# Clone poky (Github mirror)
git clone https://github.com/yoctoproject/poky.git
cd poky

# Checkout latest OpenEmbedded version
git checkout -t origin/nanbield -b my-nanbield
git pull

# Source and build a minimal image
source oe-init-build-env
bitbake core-image-minimal

# Start QEMU without graphic and use user network
runqemu nographic slirp

Link Use Git to Clone Poky⁠

Link Build Your Image⁠

runqemu Command Line Info⁠

⁠Local Build and Run the Container Image

docker build -t oe-builder .
docker run -it -rm oe-builder

⁠Build and Publish for Multiple Platforms

docker buildx create --name mybuilder --bootstrap --use
docker buildx build --platform linux/amd64,linux/arm64 -t man0wee/oe-builder:latest --push .

Link Docker Multi-Platform Build⁠

Tag summary

Content type

Image

Digest

sha256:ad9e98b53…

Size

378.6 MB

Last updated

almost 3 years ago

docker pull man0wee/oe-builder