Sign inSign up

vadyochik/android-sdk

By vadyochik

•Updated over 8 years ago

Minimal Ubuntu based Docker image with the Android SDK

Image
0

248

vadyochik/android-sdk repository overview

⁠Android SDK docker image

Minimal Ubuntu based Docker image with the Android SDK for building Android apps in a CI tool like GitLab CI. Make sure your CI environment's caching works as expected, this greatly improves the build time, especially if you use multiple build jobs.

A .gitlab-ci.yml with caching of your project's dependencies would look something like this:

image: vadyochik/android-sdk

stages:
- build

before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./gradlew

cache:
  key: ${CI_PROJECT_ID}
  paths:
  - .gradle/

build:
  stage: build
  script:
  - ./gradlew assembleDebug
  artifacts:
    paths:
    - app/build/outputs/apk/app-debug.apk

Many thanks to the following nice guys:

Tag summary

Content type

Image

Digest

Size

540 MB

Last updated

over 8 years ago

docker pull vadyochik/android-sdk