1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00
Commit Graph

56 Commits

Author SHA1 Message Date
Philip Nagler-Frank
c565b41e0c
Update url to branch list in Dockerfile comment (#117)
Matches url in readme now
2021-01-19 12:37:05 +01:00
Philip Nagler-Frank
ded6b5d565
Align with Dockerfile best practices (#147)
* minimize number of layers in Dockerfile
* don't call apt-get upgrade in Dockerfile
* remove apt cache after installing packages in Dockerfile
* replace depreacted Maintainer field in Dockerfile
* copy files after adding dependencies
2021-01-19 12:35:51 +01:00
Simon Polack
30405bb940 Fix ccache which is no longer shipped with AOSP
..by adding a ENV VAR pointing to the actual executable.

Taken out of StolenHal Pull Request.
2020-08-16 01:51:30 +02:00
Simon Polack
4f145950dd Cleanup leftovers of opendelta 2020-08-16 01:44:51 +02:00
Simon Polack
aca1a10efb Docker: Base on Ubuntu 20.04 2020-08-16 01:43:19 +02:00
SolidHal
d75cb19d8f remove opendelta support, opendelta seems to have been dropped from omnirom 2020-08-14 21:22:02 +02:00
Simon Polack
f4f07bc19f
Merge pull request #58 from petabyteboy/patch-1
Add clang
2020-08-14 16:20:04 +02:00
Nicola Corna
e724032a86 Add gitlab.com/the-muppets as additional source for proprietary files
Manifests can not be used as-is, as they have some incompatibilities
(like the re-define of the already existing "gitlab" remote) with the
build system.
2019-10-05 10:53:43 +02:00
Milan
c732a03857 Add clang
Some devices need clang to build successfully
2019-09-29 20:31:58 +02:00
Nicola Corna
481aefe6de Update default branch from cm-14.1 to lineage-16.0
Also adjust the examples in the README.
2019-08-21 10:24:13 +02:00
Nicola Corna
c3478c3352 Remove openjdk-7
OpenJDK 7 was previously taken from the Debian experimental repo, but is
has been removed.
OpenJDK 7 is needed to build LineageOS/Cyanogenmod 11.0-13.0, so
support for those version is dropped.
2019-08-21 10:00:45 +02:00
Samuel Wein
50027d7dd2 Add support for building LineageOS-16.0 (#30)
* Added initial Android 9 / LineageOS 16.0 support

* Add muppets16 containing Lineage-16.0 themuppets repos. Updated src/build.sh to allow building Lineage-16.0

* [Fix] Fixed switch for which themuppets repo to use

* [Fix] TheMuppets now supplies 16.0 manifests. Deleting local copy

* [fix] Fixed signing builds in Lineage-16.0 and added kmod to the docker image. (thanks @corna for both)

* Fix Android < 9 builds
2019-04-19 07:14:16 +02:00
Nicola Corna
f1941a5aa5 Add bsdmainutils and cgpt
cgpt and hexdump (in the bsdmainutils package) are required by
brillo_update_payload.
2018-07-18 19:02:11 +02:00
Nicola Corna
5ffe75049a Generate new signing keys when missing 2018-03-08 11:36:41 +01:00
Nicola Corna
b55109556f Merge master and multibranch 2018-03-06 20:46:12 +01:00
Nicola Corna
876c28dc8f Automatically select the correct OTA_PROP 2018-02-28 21:32:58 +01:00
Nicola Corna
2e29542898 Install missing lsof 2018-01-04 10:02:52 +01:00
Nicola Corna
8d7ef9dc73 Move the mirror to a separate volume 2017-12-19 23:25:42 +01:00
Nicola Corna
2e47ada281 Adapt clean options to the new build system 2017-12-15 10:16:46 +01:00
Nicola Corna
324a10e762 Add multibranch support
It's now possible to build multiple branches with the same docker image.
A full LineageOS mirror is downloaded and created locally (~200 GB).
2017-12-13 12:13:36 +01:00
Jeremy O'Brien
abb92f743f Add maven to build dependencies 2017-11-07 08:12:55 +01:00
Nicola Corna
51bc22ca56 Make the ccache size configurable 2017-11-06 16:31:37 +01:00
Nicola Corna
4ef85b9fe3 Add external scripts support 2017-10-27 10:57:23 +02:00
Nicola Corna
5552c1922a Add configurable build.prop key
It has been changed from 'cm.updater.uri' to 'lineage.updater.uri' in
LineageOS 15.0 (https://review.lineageos.org/#/c/191274/).
2017-10-19 07:26:33 +02:00
Nicola Corna
d912e4b030 Improve the logging 2017-10-19 07:26:32 +02:00
Nicola Corna
5fcb95e54f Cleanup Dockerfile 2017-08-09 12:21:37 +02:00
Nicola Corna
625e715e4a Add an option to generate the OpenDelta's builds JSON file 2017-08-09 12:21:37 +02:00
Nicola Corna
fba75880fa Use the appropriate signature spoofing patch 2017-08-07 18:55:16 +02:00
Nicola Corna
ce6fbd473c Minor typo fix 2017-08-05 09:38:53 +02:00
Nicola Corna
87e92f2736 Use xdelta3 from the Ubuntu repo 2017-07-15 16:33:26 +02:00
Nicola Corna
772389357c Add DELETE_OLD_ZIPS and DELETE_OLD_DELTAS 2017-06-06 09:12:25 +02:00
Nicola Corna
40847c7763 Add RELEASE_TYPE 2017-06-03 08:55:53 +02:00
Nicola Corna
290aeb2d07 Minor fix 2017-05-27 08:11:08 +02:00
Nicola Corna
7403fce5c8 Add support for delta files 2017-05-27 08:11:08 +02:00
Nicola Corna
134a82710e Add SIGNATURE_SPOOFING 2017-05-22 12:45:28 +02:00
Nicola Corna
0cc32390fa Add ZIP_SUBDIR 2017-05-17 00:33:15 +02:00
Nicola Corna
515085a6a9 Remove CUSTOM_STATIC_JAVA_LIBRARY 2017-05-07 23:06:40 +02:00
Nicola Corna
5f8b9d2ca9 Sign the builds manually 2017-05-07 23:06:34 +02:00
Nicola Corna
c6063d7ab7 Switch to Ubuntu 16.04 2017-05-05 17:20:22 +02:00
Nicola Corna
b235a6e245 Add "now" option 2017-05-05 15:42:03 +02:00
Nicola Corna
fd59136e29 Multiple changes
* Add MicroG's signature spoofing patch
 * Add ENVs for custom packages, custom Java libraries and keys path
 * Change git protocol from git:// to https://
 * Increase ccache limit to 100 GB
2017-05-03 22:35:24 +02:00
Julian Xhokaxhiu
4c0f2f2629 Refine ncurses5 installation
Rather than building on the Docker Hub, let's install prebuilt packages. Therefore apacman is no more required.
2017-02-23 23:33:58 +01:00
Julian Xhokaxhiu
3b1d0eaecb Remove double repo installation
Prefer the one from package
2017-02-23 23:33:45 +01:00
Julian Xhokaxhiu
b17f854375 Switch from Oracle JDK to OpenJDK 2017-02-23 23:33:25 +01:00
Julian Xhokaxhiu
b655ad3fe6 Rename OUT_DIR to ZIP_DIR
It was confusing the build system which was placing any output file inside the final output directory
2017-01-21 23:59:02 +01:00
Julian Xhokaxhiu
dac056a43b Fix local manifests path
And use a proper folder name
2017-01-21 13:53:58 +01:00
Julian Xhokaxhiu
d37f232193 Add smart support for Local Manifests
Now you can prepare them before hand, and when the build will start will take them in consideration everytime.
Before you had to wait at least the first round of build to be able to add your local manifest.
2017-01-21 11:56:58 +01:00
Julian Xhokaxhiu
a4ed962dee Add default JACK configuration
In order to prevent out-of-memory issues
2017-01-21 11:49:25 +01:00
Julian Xhokaxhiu
b28f68d616 Add WITH_SU flag support
See http://lineageos.org/Update-and-Build-Prep/
2017-01-21 11:43:44 +01:00
Julian Xhokaxhiu
acc11df22a Enhance the build script with Debug and Clean capabilities
User can decide if he wants to get the build logs in its entirely or just resume.
Also added a flag to configure if the script should clean artifacts once the ROM was built or not.
2017-01-17 19:35:03 +01:00