Skip to content

AngryGami/android-ndk-gradle-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Android NDK Gradle

/android-ndk-gradle

Included

  • OpenJDK 8
  • Git
  • Gradle 3.3
  • Android NDK r13b
  • Android SDK (android-24,android-25)
  • Android Build-tools (24.0.0,24.0.1,24.0.2,24.0.3,25.0.2)
  • Android System Images(sys-img-armeabi-v7a-android-24,sys-img-armeabi-v7a-android-25)
  • Android Support Libraries
  • Google Play Services

Build image

docker build -t alexisduque/android-ndk-gradle-docker .

Push build version to repository

docker push alexisduque/android-ndk-gradle-docker

Usage

GitLab CI

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

image: alexisduque/android-ndk-gradle-docker
stages:
  - build

build:
  stage: build
  script:
    - gradle build
  only:
    - master

Without GitLab

docker pull alexisduque/android-ndk-gradle-docker

Change directory to your project directory, then run:

docker run --tty --interactive --volume=$(pwd):/opt/workspace --user `id -u` --workdir=/opt/workspace --rm alexisduque/android-ndk-gradle-docker /bin/sh -c "gradle build"

About

Android NDK + SDK + Gradle docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published