Sign inSign up

cangol/android-gradle

By cangol

•Updated about 5 years ago

android-gradle docker

Image
15

50K+

cangol/android-gradle repository overview

⁠android-gradle

android-gradle

⁠Included

  • OpenJDK 8
  • Git
  • Gradle 6.5
  • Android SDK (android-30)
  • Android Build-tools (30.0.2)
  • Android Support Libraries
  • Google Play Services

⁠Build image

docker build -t cangol/android-gradle .

⁠Push build version to repository

docker push cangol/android-gradle

⁠Usage

⁠GitLab CI

This is what my .gitlab-ci.yml looks like:

image: cangol/android-gradle
stages:
  - build

build:
  stage: build
  script:
    - gradlew build
  only:
    - master

⁠Without GitLab
docker pull cangol/android-gradle

Change directory to your project directory, then run:

docker run --tty --interactive --volume=$(pwd):/opt/workspace --workdir=/opt/workspace --rm cangol/android-gradle  /bin/sh -c "./gradlew build"

Tag summary

Content type

Image

Digest

Size

1.5 GB

Last updated

about 5 years ago

docker pull cangol/android-gradle