With this docker image you don't need to install the Flutter and Android SDK on your developer machine. Everything is ready to use inclusive an emulator device (Pixel with Android 9). With a shell alias you won't recognize a difference between the image and a local installation. If you are using VSCode you can also use this image as your devcontainer.
adb connect host.docker.internal:5555
| SDK | Version |
|---|---|
| Flutter | 3.3.8 |
| Android | 29.0.2 |
| IOS |
You can now choose the device to start debugging.
Why not using alpine?
Alpine is based on musl instead of glibc. The dart binaries packaged by flutter are linked against glibc so the Flutter SDK is not compatible with Alpine - it's possible to fix this but not the core attempt of this image.
Why OpenJDK 8?
With higher versions the sdkmanager of the android tools throws errors while fetching maven dependencies.
Content type
Image
Digest
sha256:76b4e9448…
Size
1.5 GB
Last updated
over 3 years ago
docker pull tonykhanh55/mobile-cli:5.0.0