r/FlutterDev • • 2d 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!

7 Upvotes

2 comments sorted by

1

u/kuarasoft 2d 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.