FROM ubuntu:22.04 # Prevent interactive prompts ENV DEBIAN_FRONTEND=noninteractive # Install ADB and tools RUN apt-get update && apt-get install -y \ curl \ wget \ unzip \ openjdk-17-jdk \ android-tools-adb \ android-tools-fastboot \ && rm -rf /var/lib/apt/lists/* # Create working directory WORKDIR /app # Copy scripts COPY scripts /app/scripts RUN chmod +x /app/scripts/*.sh # Create APK directory RUN mkdir -p /app/apks ENTRYPOINT ["/app/scripts/entrypoint.sh"]