Docker Image for building Android projects.
1.0K
Simple docker image that contains all the necessary dependencies to build a modern Android project. It uses sdkmanager instead of the deprecated android tool.
See android-packages for the full list of Android dependencies.
Navigate to project folder and run:
docker run --interactive --volume=$(pwd):/tmp/project carlospaulino/android-builder:1.0.4 /bin/sh -c "./gradlew {MY_GRADLE_TASK}"
Replace {MY_GRADLE_TASK} with any gradle task such as check or build.
Gradle is very memory hungry so give your container at least 4GB of RAM.
Copyright (c) 2017 Carlos Paulino [email protected].
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.
Content type
Image
Digest
Size
2.6 GB
Last updated
over 9 years ago
docker pull carlospaulino/android-builder