-
Notifications
You must be signed in to change notification settings - Fork 1
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
7 changed files
with
40 additions
and
5 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
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
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,31 @@ | ||
# Docker architecture | ||
|
||
The basic setup of the container can be seen by looking at the `Dockerfile` provided in the repository. | ||
|
||
## Container definition | ||
* Ubuntu LTS 18.04 | ||
* the build packages as explained in the yocto setup document (installed via apt-get) | ||
* the repo sync tool | ||
* this repository itself | ||
* release tools for Github (may be moved to different container later) | ||
|
||
## Container startup | ||
The entrypoint of the container is the `startup.sh`. The script has two functions | ||
|
||
* pull the lastest revision of this repository | ||
* start the `build.sh` | ||
|
||
The `build.sh` kicks of the build process. The build process can be customized by | ||
* using environmental variables as described in this documentation | ||
* adding custom scripts to the /scripts folder of your repository. The `build.up.sh` script checks if `step01.sh` to `step05.sh` exist. If yes, they are being executed along the process. | ||
|
||
|
||
## Container data directories | ||
|
||
The container three main directories. | ||
|
||
1. `/drone/custombuild` contains your repository | ||
1. `/repo/yoctoDocker` contains this repository | ||
1. `/data/` is the working directory for the build | ||
|
||
During execution of `build.sh` config, source and scripts are copied from `/drone/custombuild` to `/data` |
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
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
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
Empty file.