1FROM gcr.io/cloud-builders/javac:8 2 3RUN apt-get update && apt-get install -y \ 4 cmake \ 5 curl \ 6 ninja-build \ 7 python3-pip 8RUN pip3 install meson 9RUN curl -o ndk.zip \ 10 https://dl.google.com/android/repository/android-ndk-r21e-linux-x86_64.zip 11RUN unzip ndk.zip 12RUN mv android-ndk-r21e /ndk 13RUN curl -L -o platform-tools.zip \ 14 https://dl.google.com/android/repository/platform-tools-latest-linux.zip 15RUN unzip platform-tools.zip platform-tools/adb 16RUN mv platform-tools/adb /usr/bin/adb 17 18WORKDIR /src 19ENTRYPOINT ["./gradlew"] 20CMD ["--stacktrace", "-PndkPath=/ndk", "release"] 21