Sign inSign up

forthecommunity/flutter

By forthecommunity

•Updated 11 days ago

Docker Image For Building Flutter Apps.

Image
Developer tools
Operating systems
0

1.1K

forthecommunity/flutter repository overview

⁠Flutter Docker Image

Tailor-made, high-performance Docker images built specifically for testing, compiling, and deploying cross-platform Flutter applications.

⚠️ Release Policy: This repository only tracks and builds images for official Stable Channel releases of Flutter. Pre-release channels (Beta, Dev, Master) are not supported.

🔄 Automated Builds: Upstream Flutter releases are tracked daily. When a new stable version is detected, a fresh container image is built and published automatically with no human intervention.


⁠🚀 Features & What's Inside

This image comes completely pre-configured with all system toolchains required for seamless multi-platform compilation:

  • Base OS: Ubuntu (Latest)
  • Java Runtime: OpenJDK 21
  • Android SDK Stack: Platform-Tools, Build-Tools (v36), and Emulator support
  • Linux Desktop Toolchain: Clang, CMake, Ninja, and GTK3 development libraries
  • Web Deployment: Pre-cached engine artifacts for Flutter Web

⁠📌 Tag Overview

This repository tracks upstream Flutter releases dynamically. Use a pinned version for production stability or latest to stay on the bleeding edge.

TagDescriptionProduction Example
latestAutomatically updates to the newest stable Flutter release.forthecommunity/flutter:latest
X.Y.ZLocked to a specific, immutable Flutter version.forthecommunity/flutter:3.44.2

💡 Note: The tag forthecommunity/flutter:3.44.2 guarantees that your build environment uses exactly Flutter Version 3.44.2 every single time.


⁠🛠️ Quick Start Usage :

⁠1. Example : Using in GitLab CI/CD (.gitlab-ci.yml)
build_android:
  stage: build
  image: forthecommunity/flutter:3.44.2
  script:
    # Checking health of flutter...
    - flutter doctor
    # Compiling app for android target...
    - flutter build apk --release
    # Compiling app for linux target...
    - flutter build linux --release
⁠2. Example : Using in GitHub Actions (.github/workflows/build.yml)
name: Flutter Build

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  build:
    runs-on: ubuntu-latest
    container:
      image: forthecommunity/flutter:latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Verify Environment
        run: flutter doctor

      - name: Build APK
        run: flutter build apk --release

⁠Issues :

Submit Issues in Gitlab⁠

⁠📦 Source Code & Transparency

The build scripts, automated workflows, and configuration files for this image are fully open-source. For complete transparency, you can inspect the code or audit live build logs at any time:

⁠Contact Maintainer :

Contact this Repo Maintainer⁠.

Tag summary

Content type

Image

Digest

sha256:dc6beadc2…

Size

2.8 GB

Last updated

11 days ago

docker pull forthecommunity/flutter