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
docker build this image https://github.com/lineageos4microg/docker-lineage-cicd | |
create a folder somewhere where all your lineageos stuff goes. | |
Then run the container as follows (you might need to create those other directories first): | |
docker run -e "SIGN_BUILDS=true" -e "SIGNATURE_SPOOFING=restricted" -e "BRANCH_NAME=lineage-16.0" -e "DEVICE_LIST=pro1" -v "/mylocaldir/repo:/srv/src" -v "/mylocaldir/zips:/srv/zips" -v "/mylocaldir/logs:/srv/logs" -v "/mylocaldir/cache:/srv/ccache" -v "/mylocaldir/local_manifests:/srv/local_manifests" -v "/mylocaldir/keys:/srv/keys" lineageos4microg | |
Or you can have the container add additional useful prebuild software to the image. | |
add local_manifests/prebuilds.xml: | |
<?xml version="1.0" encoding="UTF-8"?> |
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
#!/bin/bash | |
# change the next line to match your wifi device and put this file in /etc/NetworkManager/dispatcher.d/ and make it executable | |
WIFI_DEVICE=wlp3s0 | |
IF=$1 | |
STATUS=$2 | |