frankyjquintero / teamcity-agent-android-build-box

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Teamcity Minimal Agent Android Build Box

docker icon

Introduction

A docker image build with teamcity-minimal-agent + Android build environment.

What Is Inside

It includes the following components:

  • Ubuntu 18.04
  • Android SDK 28
  • Android build tools:
    • 28.0.3
  • Android NDK r20
  • extra-android-m2repository
  • extra-google-m2repository
  • extra-google-google_play_services

Docker Pull

The docker image is publicly automated build on Docker Hub based on the Dockerfile in this repo, so there is no hidden stuff in it. To pull the latest docker image:

docker pull frankyjquintero/teamcity-agent-android-build-box:latest

Usage

Use the image to build an Android project

You can use this docker image to build your Android project with a single docker command:

cd <android project directory>  # change working directory to your project root directory.
docker run --rm -v `pwd`:/project frankyjquintero/teamcity-agent-android-build-box bash -c 'cd /project; ./gradlew build'

Run docker image with interactive bash shell:

docker run -v `pwd`:/project -it frankyjquintero/teamcity-agent-android-build-box

Docker Build Image

If you want to build the docker image by yourself, you can use following command.

docker build -t frankyjquintero/teamcity-agent-android-build-box .

Contribution

If you want to enhance this docker image or fix something, feel free to send pull request.

References

About

License:MIT License


Languages

Language:Dockerfile 100.0%