mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
Add some more documentation
This commit is contained in:
parent
e623387130
commit
4dd1c01080
24
README.md
24
README.md
@ -29,11 +29,13 @@ You can configure the Docker by passing custom environment variables to it. See
|
||||
## How to use
|
||||
|
||||
### Simple mode
|
||||
build LineageOS for `hammerhead` with default settings
|
||||
build cm14.1 LineageOS for `hammerhead` with default settings
|
||||
```
|
||||
docker run \
|
||||
--restart=always \
|
||||
-d \
|
||||
-e "USER_NAME=John Doe" \
|
||||
-e "USER_MAIL=john.doe@awesome.email" \
|
||||
-e "DEVICE_LIST=hammerhead" \
|
||||
-v "/home/user/ccache:/srv/ccache" \
|
||||
-v "/home/user/source:/srv/src" \
|
||||
@ -47,6 +49,8 @@ build cm-13.0 LineageOS for `hammerhead` and `bullhead`
|
||||
docker run \
|
||||
--restart=always \
|
||||
-d \
|
||||
-e "USER_NAME=John Doe" \
|
||||
-e "USER_MAIL=john.doe@awesome.email" \
|
||||
-e "BRANCH_NAME=cm-13.0" \
|
||||
-e "DEVICE_LIST=hammerhead,bullhead" \
|
||||
-v "/home/user/ccache:/srv/ccache" \
|
||||
@ -54,3 +58,21 @@ docker run \
|
||||
-v "/home/user/zips:/srv/out" \
|
||||
julianxhokaxhiu/docker-lineage-cicd
|
||||
```
|
||||
|
||||
### Expert mode
|
||||
build cm-14.1 LineageOS for a device that doesn't exist inside the main project, but comes from a special manifest. Finally provide a custom OTA URL for this ROM so users can update using built-in OTA Updater.
|
||||
```
|
||||
docker run \
|
||||
--restart=always \
|
||||
-d \
|
||||
-e "USER_NAME=John Doe" \
|
||||
-e "USER_MAIL=john.doe@awesome.email" \
|
||||
-e "BRANCH_NAME=cm-14.1" \
|
||||
-e "DEVICE_LIST=n80xx" \
|
||||
-e "CUSTOM_MANIFEST_URL=http://cool.domain/manifest.xml" \
|
||||
-e "OTA_URL=http://cool.domain/api" \
|
||||
-v "/home/user/ccache:/srv/ccache" \
|
||||
-v "/home/user/source:/srv/src" \
|
||||
-v "/home/user/zips:/srv/out" \
|
||||
julianxhokaxhiu/docker-lineage-cicd
|
||||
```
|
Loading…
Reference in New Issue
Block a user