WeRockStar/android-build

Docker Image for Android (Android SDK, Fastlane, JDK-17, mobsfscan)

★ 1Forks 0DockerfileGitHub ↗Compare

README

Docker image for Android (Experiment!)

The image contains the Android SDK, Fastlane, JDK-17, and more utilities tools.

Usage

Build and Push the Image

./build-push.sh

Here is example for Gitlab CI (.gitlab-ci.yml)

image: werockstar/android-build:0.0.1-alpha04

before_script:
  - export GRADLE_USER_HOME=$(pwd)/.gradle

stages:
  - lint
  - test
  - build
  - deploy-dev

linter-android:
  stage: lint
  script:
    - ./gradlew detekt

unit-test:
  stage: test
  script:
    - ./gradlew test

build-android:
  stage: build
  script:
    # - ./gradlew androidApp:assDe
    - fastlane build

deploy-dev:
  stage: deploy-dev
  environment: dev
  script:
    - fastlane beta

Contributors

WeRockStar

Issues