18 lines
428 B
Plaintext
18 lines
428 B
Plaintext
# 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
|