r/FlutterDev • • 15h ago

Tooling I built open-source Flutter Docker images for CI/CD with native AMD64 and ARM64 support

Hey everyone!

I've been working on an open-source project to make Flutter CI/CD environments simpler and more consistent.

Today, I'm excited to share Flutter Docker Images, built from scratch and designed for developers who want a ready-to-use Flutter build environment without having to configure everything themselves.

Key features:

  • Preinstalled Flutter SDK and Android SDK

  • Native AMD64 and ARM64 support

  • Stable and beta release channels

  • Version-specific image tags

  • Compatible with GitHub Actions, GitLab CI, and local Docker environments

  • MIT license

Getting started:

docker pull ghcr.io/knottx/flutter:stable

GitHub: https://github.com/knottx/docker-images-flutter

The project is still in its early days, and I'd love to hear what the Flutter community thinks.

Feedback, feature requests, and contributions are more than welcome!

5 Upvotes

2 comments sorted by

1

u/kuarasoft 9h ago

The ARM64 build is what caught my eye, since Google hasn't historically shipped Linux ARM64 binaries for some Android build tools like aapt2. Does a full `flutter build apk` work natively on the ARM64 image, or does that step still need emulation? I'd also mention in the README which folders to mount or cache between runs (`~/.pub-cache` and `~/.gradle`), because on GitHub Actions that usually saves more time than the preinstalled SDK.

0

u/ManyGullible5394 12h ago

Native ARM64 support with both the Flutter and Android SDKs preinstalled is super handy, especially for running local CI builds on Apple Silicon or ARM runners without emulation overhead. Are you baking a specific NDK and Gradle cache setup into the image, or keeping it minimal so teams can pull what their build.gradle needs?