Files
BPI-M2C/source_sync_rls_25c/prebuilts/scripts/buildtools/create-yocto-docker/usage
T

18 lines
428 B
Plaintext
Raw Normal View History

2026-09-22 09:38:26 +08:00
# usage for create yocto docker used by yocto dunfell build
# in useage current dir, exac create cmd to make docker image
$ docker build -t ubuntu2004 .
# into docker image and install package
$ docker run -it ubuntu2004 /bin/bash
# default into app dir
$ ./install-docker-package.sh
# after install package exit docker container
exit
# output the docker image
$ docker save -o ubuntu2004-for-yocto-build.tar ubuntu2004