based on beevelop/java
- Java
17.0.9
- Gradle
4.4.1
(Groovy:2.4.21
) - Apache Maven
3.6.3
- Ant
1.10.12
# pull the most recent tag / release
docker pull beevelop/android:v2023.12.1
# or run the image interactively
docker run --rm --name beevelop -it beevelop/android:v2023.12.1 bash
# or build the image from GitHub
docker build -t beevelop/android github.com/beevelop/docker-base
FROM beevelop/android:v2023.12.1
# accepts all the Licenses (please read first)
RUN yes | sdkmanager --licenses --sdk_root=$ANDROID_SDK_ROOT
The usage of the Android SDK requires you to accept the licenses
- Command Line Tools Download
- List build-tools versions:
sdkmanager --sdk_root=${ANDROID_SDK_ROOT} --list | grep build-tools
- List platforms:
sdkmanager --sdk_root=${ANDROID_SDK_ROOT} --list | grep 'platforms:'