chore: update flutter dependencies in version.json for 3.29.0 (#289)

* chore: update flutter dependencies in version.json for 3.29.0

* build: install NDK and CMake

* docs: update docs

* ci: add ndk version

* ci: add cmake version

---------

Co-authored-by: verified-commit[bot] <180343340+verified-commit[bot]@users.noreply.github.com>
Co-authored-by: Eligio Mariño <22875166+gmeligio@users.noreply.github.com>
This commit is contained in:
verified-commit[bot]
2025-02-16 18:38:20 +01:00
committed by GitHub
parent 2e59fdfb0a
commit d95fb95a1e
10 changed files with 56 additions and 28 deletions
+14 -14
View File
@@ -10,7 +10,7 @@ The images includes the minimum tools to run Flutter and build apps. The version
## Features
* Installed Flutter SDK 3.27.4.
* Installed Flutter SDK 3.29.0.
* Analytics disabled by default, opt-in if `ENABLE_ANALYTICS` environment variable is passed when running the container.
* Rootless user `flutter:flutter`, with permissions to run on Github workflows and GitLab CI.
* Cached Fastlane gem 2.226.0.
@@ -20,7 +20,8 @@ Predownloaded SDKs and tools in Android:
* Licenses accepted
* Android SDK Platforms: 35
* Gradle: 8.3
* Android NDK: 26.3.11579264
* Gradle: 8.10.2
## Alpha Stability
@@ -38,13 +39,13 @@ On the terminal:
```bash
# From Docker Hub
docker run --rm -it gmeligio/flutter-android:3.27.4 bash
docker run --rm -it gmeligio/flutter-android:3.29.0 bash
# From GitHub Container Registry
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.27.4 bash
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.29.0 bash
# From Quay.io
docker run --rm -it quay.io/gmeligio/flutter-android:3.27.4 bash
docker run --rm -it quay.io/gmeligio/flutter-android:3.29.0 bash
```
On a workflow in GitHub Actions:
@@ -54,7 +55,7 @@ jobs:
build:
runs-on: ubuntu-22.04
container:
image: ghcr.io/gmeligio/flutter-android:3.27.4
image: ghcr.io/gmeligio/flutter-android:3.29.0
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -66,7 +67,7 @@ On a `.gitlab-ci.yml` in GitLab CI:
```yaml
build:
image: ghcr.io/gmeligio/flutter-android:3.27.4
image: ghcr.io/gmeligio/flutter-android:3.29.0
script:
- flutter build apk
```
@@ -89,8 +90,8 @@ There is no `latest` Docker tag on purpose. You need to specify the version of t
The tag is composed of the Flutter version used to build the image. For example:
* Docker image: gmeligio/flutter-android:3.27.4
* Flutter version: 3.27.4
* Docker image: gmeligio/flutter-android:3.29.0
* Flutter version: 3.29.0
## Developing Locally
@@ -98,13 +99,13 @@ The tag is composed of the Flutter version used to build the image. For example:
The Dockerfile expects a few parameters:
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.27.4
* `android_build_tools_version <string>`: The version of the Android SDK Build Tools to install. Example: 33.0.1
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.29.0
* `android_build_tools_version <string>`: The version of the Android SDK Build Tools to install. Example: 34.0.0
* `android_platform_versions <list>`: The versions of the Android SDK Platforms to install, separated by spaces. Example: 28 31 33
```bash
# Android
docker build --target android --build-arg flutter_version=3.27.4 --build-arg fastlane_version=2.226.0 --build-arg android_build_tools_version=33.0.1 --build-arg android_platform_versions="35" -t android-test .
docker build --target android --build-arg flutter_version=3.29.0 --build-arg fastlane_version=2.226.0 --build-arg android_build_tools_version=34.0.0 --build-arg android_platform_versions="35" -t android-test .
```
### Dockerfile stages
@@ -123,8 +124,7 @@ The base image is `debian/debian:12-slim` and from there multiple stages are cre
* \[ \] Windows
* \[ \] Web
* Android features:
* \[ \] Android emulator
* \[ \] Android NDK
* \[ \] Android emulator
## FAQ