1FROM gcr.io/cloud-builders/gradle:5.6.2-jdk-8
2
3RUN apt-get update
4RUN apt-get install -y curl
5RUN apt-get install -y ninja-build
6RUN apt-get install -y python3-pip
7RUN pip3 install meson
8RUN curl -o ndk.zip \
9    https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip
10RUN unzip ndk.zip
11RUN mv android-ndk-r20b /ndk
12
13WORKDIR /src
14ENTRYPOINT ["./gradlew"]
15CMD ["-PndkPath=/ndk", "run"]
16