-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Example | ||
The `yocto` script mounts the current directory and adds a user with the same guid and uuid as the current user, then it starts a bash shell into the docker container. | ||
```bash | ||
starlord@host $ docker build -t yocto . | ||
starlord@host $ alias yocto=$(pwd)/yocto | ||
starlord@host $ yocto bash | ||
yocto@deadbeef $ git clone git://git.yoctoproject.org/poky.git | ||
yocto@deadbeef $ source poky/oe-init-build-env | ||
yocto@deadbeef $ time bitbake core-image-base | ||
``` |