1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 04:18:09 +03:00

Fix Docker CI and orchestration deploy reliability for full rebuild flows.

Use JDK 17 and make in the CI image, avoid self-overwriting DB init SQL, and make Gradle/native builds use container-local SDK paths and CMake caches.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-06-02 17:37:32 +02:00
parent 097c0790b8
commit d7568b133b
4 changed files with 41 additions and 19 deletions

View File

@@ -35,11 +35,11 @@ ENV ANDROID_SDK_ROOT="${ANDROID_SDK_ROOT}" \
ANDROIDCAST_USE_DISTCC=0 \
ANDROIDCAST_CI_VERSION="${ANDROIDCAST_CI_VERSION}" \
GRADLE_USER_HOME=/root/.gradle \
JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
RUN apt-get update && apt-get install -y --no-install-recommends \
bash ca-certificates curl git openjdk-21-jdk-headless unzip wget \
ninja-build cmake ccache \
bash ca-certificates curl git openjdk-17-jdk-headless unzip wget \
make ninja-build cmake ccache \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y --no-install-recommends distcc \