| FROM ubuntu:24.04 |
| |
| RUN apt update && \ |
| DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \ |
| apt install -y --no-install-recommends \ |
| binutils \ |
| ca-certificates \ |
| curl \ |
| patch \ |
| perl \ |
| tzdata \ |
| unzip && \ |
| apt clean && \ |
| rm -rf /var/cache/apt/archives /var/cache/apt/lists/* |
| |
| RUN curl -o android-ndk.zip https://dl.google.com/android/repository/android-ndk-r28-linux.zip && \ |
| unzip android-ndk.zip && \ |
| rm android-ndk.zip && \ |
| mv /android-ndk-r28 /ndk |
| |
| RUN apt remove -y ca-certificates curl && apt autoremove -y |
| |
| WORKDIR /android |