Android SDK OCI container image with pre-installed build-tools based on the latest command-line tools and JDK 11 or later.
The following JDK and Android SDK API level combinations are currently available:
11 | 17 | 21 | 22 | |
---|---|---|---|---|
31 | ✅ | ✅ | ||
32 | ✅ | ✅ | ✅ | ✅ |
33 | ✅ | ✅ | ✅ | ✅ |
34 | ✅ | ✅ | ✅ | ✅ |
35 | ✅ | ✅ | ✅ |
Use like you would any other base image:
FROM saschpe/android-sdk
RUN sdkmanager --install emulator
These scripts simplify various tasks related to container building and publishing:
./scripts/build --help
Copyright 2017 Sascha Peilicke
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
https://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.