Skip to content

warnyul/docker-android-build-tools

Repository files navigation

docker-android-build-tools

build Docker Image Version (tag latest semver) Docker Image Size (tag) License

This is an Ubuntu based Docker image and is image only contains Open JDK 17 JDK headless, Android SDK Tools, Android SDK Build Tools and the Platform which version belongs to the Build Tools's version. For instance: warnyul/android-build-tools:34.0.0 image containts platform;android-34, and the warnyul/android-build-tools:28.0.0 image contains platform;android-28 and so on.

Usage

You can use all commands from Android SDK Tools or Android SDK Build Tools. You can mount a volume optionally, if you would like to pass files to commands.

docker run --rm -v "$(pwd)":"$(pwd)" warnyul/android-build-tools apkanalyzer

Or if you want to other platforms or other Android SDK components, just use this image as parent, and install the required components:

FROM warnyul/android-build-tools:{VERSION or latest}

# Install platform tools
RUN yes | sdkmanager "platforms;android-28" "platforms;android-27"

Build

git clone https://github.com/warnyul/docker-android-build-tools.git
cd docker-android-build-tools
./build.sh --build-tools-version=29.0.3 --latest

License

Copyright 2020 Balázs Varga

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Releases

No releases published

Packages

No packages published