Skip to content

A docker image which contains flutter sdk with android sdk and jdk

Notifications You must be signed in to change notification settings

chirag-ji/flutter-aio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

A docker image for building the flutter releases in runners

flutter-aio repository image contains the images which can be used in runners for building the releases in fewer efforts.

This repository includes:

  • Flutter
  • Android SDK
  • JDK 17
This supports currently building the following:
  • Android releases
  • Web Builds

Usages:

  • GitLab Runners
  • GitHub Actions
  • Gitea Actions

Tags


Only stable branch is being built from flutter repository.

Note: flutter-aio tags works on the basis of flutter stable version


Sample CI configuration scripts:

.gitlab-ci.yml

image: chiragji/flutter-aio:latest

variables:
    GRADLE_USER_HOME: "$CI_PROJECT_DIR/.gradle"

stages:
  - build-android

build_android:
    stage: build-android
    script:
      - flutter --version
      - flutter pub get
      - echo "Generating the part dart classes"
      - dart run build_runner build --delete-conflicting-outputs # Build all the dependends

      # Build Android APK
      # - flutter build apk --release
      - flutter build appbundle

About

A docker image which contains flutter sdk with android sdk and jdk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published