FROM circleci/android:api-25 # Set working directory and copy project WORKDIR /workspace COPY . /workspace # Ensure wrapper is executable RUN chmod +x gradlew # Build the project (multi-module) - skip tests for speed in image build RUN ./gradlew clean build -x test # Default to an interactive shell CMD ["bash"]