This is a short man page that shows how to create a Docker container for running the Yocto build environment inside.
mach\distro | hardknott | gatesgarth | honister | kirkstone | mikledore | nanbield | scarthgap |
---|---|---|---|---|---|---|---|
ucm-imx93l | 22.04 ( release ) |
||||||
ucm-imx93 | 20.04 ( below release 2.0 ) |
22.04 ( release 2.0 and above ) |
|||||
mcm-imx93 | 22.04 ( release ) |
||||||
ucm-imx8m-plus | 18.04 | 18.04 | 20.04 | 20.04 | 22.04 ( release ) |
22.04 ( release ) |
22.04 ( release ) |
mcm-imx8m-plus | 22.04 ( rc0 ) |
||||||
cl-som-imx8plus | 18.04 | 18.04 | 20.04 | 20.04 ( release ) |
|||
iot-gate-imx8plus | 18.04 | 18.04 | 20.04 | 20.04 ( release ) |
|||
mcm-imx8m-mini | 18.04 | 18.04 | 20.04 | 20.04 ( release ) |
|||
ucm-imx8m-mini | 18.04 | 18.04 | 20.04 | 20.04 ( release ) |
|||
iot-gate-imx8 | 18.04 | 18.04 | 20.04 | 20.04 ( release ) |
- Install the Docker package:
sudo apt install docker.io
- WorkDir
mkdir compulab-yocker && cd compulab-yocker
- Clone this repostory:
git clone https://github.com/compulab-yokneam/yocker.git .
It is up to developers to decide what container to create.
sudo docker build -t yocto-build:v1 - < $(pwd)/docker/Dockerfile-22.04
sudo docker build -t yocto-build:v1 - < $(pwd)/docker/Dockerfile-20.04
sudo docker build -t yocto-build:v1 - < $(pwd)/docker/Dockerfile-18.04
sudo docker run --interactive --tty --privileged --volume $(pwd)/work:/work yocto-build:v1
sudo mkdir in-work
sudo chown $USER:$USER in-work
cd in-work