mirror of
https://github.com/gmeligio/flutter-docker-image.git
synced 2026-05-24 12:30:34 +00:00
chore: update flutter dependencies in version.json for 3.27.0 (#271)
Co-authored-by: verified-commit[bot] <180343340+verified-commit[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8680391ae5
commit
20fad5eb49
+4
-4
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"flutter": {
|
||||
"channel": "stable",
|
||||
"commit": "dec2ee5c1f98f8e84a7d5380c05eb8a3d0a81668",
|
||||
"version": "3.24.5"
|
||||
"commit": "8495dee1fd4aacbe9de707e7581203232f591b2f",
|
||||
"version": "3.27.0"
|
||||
},
|
||||
"android": {
|
||||
"platforms": [
|
||||
{
|
||||
"version": 34
|
||||
"version": 35
|
||||
}
|
||||
],
|
||||
"gradle": {
|
||||
@@ -21,6 +21,6 @@
|
||||
}
|
||||
},
|
||||
"fastlane": {
|
||||
"version": "2.225.0"
|
||||
"version": "2.226.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,16 +10,16 @@ The images includes the minimum tools to run Flutter and build apps. The version
|
||||
|
||||
## Features
|
||||
|
||||
* Installed Flutter SDK 3.24.5.
|
||||
* Installed Flutter SDK 3.27.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.225.0.
|
||||
* Cached Fastlane gem 2.226.0.
|
||||
* Minimal image with predownloaded SDKs and tools ready to run `flutter` commands for the Android platform.
|
||||
|
||||
Predownloaded SDKs and tools in Android:
|
||||
|
||||
* Licenses accepted
|
||||
* Android SDK Platforms: 34
|
||||
* Android SDK Platforms: 35
|
||||
* Gradle: 8.3
|
||||
|
||||
## Alpha Stability
|
||||
@@ -38,13 +38,13 @@ On the terminal:
|
||||
|
||||
```bash
|
||||
# From Docker Hub
|
||||
docker run --rm -it gmeligio/flutter-android:3.24.5 bash
|
||||
docker run --rm -it gmeligio/flutter-android:3.27.0 bash
|
||||
|
||||
# From GitHub Container Registry
|
||||
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.24.5 bash
|
||||
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.27.0 bash
|
||||
|
||||
# From Quay.io
|
||||
docker run --rm -it quay.io/gmeligio/flutter-android:3.24.5 bash
|
||||
docker run --rm -it quay.io/gmeligio/flutter-android:3.27.0 bash
|
||||
```
|
||||
|
||||
On a workflow in GitHub Actions:
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ghcr.io/gmeligio/flutter-android:3.24.5
|
||||
image: ghcr.io/gmeligio/flutter-android:3.27.0
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@@ -66,7 +66,7 @@ On a `.gitlab-ci.yml` in GitLab CI:
|
||||
|
||||
```yaml
|
||||
build:
|
||||
image: ghcr.io/gmeligio/flutter-android:3.24.5
|
||||
image: ghcr.io/gmeligio/flutter-android:3.27.0
|
||||
script:
|
||||
- flutter build apk
|
||||
```
|
||||
@@ -89,8 +89,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.24.5
|
||||
* Flutter version: 3.24.5
|
||||
* Docker image: gmeligio/flutter-android:3.27.0
|
||||
* Flutter version: 3.27.0
|
||||
|
||||
## Developing Locally
|
||||
|
||||
@@ -98,13 +98,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.24.5
|
||||
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.27.0
|
||||
* `android_build_tools_version <string>`: The version of the Android SDK Build Tools to install. Example: 33.0.1
|
||||
* `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.24.5 --build-arg fastlane_version=2.225.0 --build-arg android_build_tools_version=33.0.1 --build-arg android_platform_versions="34" -t android-test .
|
||||
docker build --target android --build-arg flutter_version=3.27.0 --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 .
|
||||
```
|
||||
|
||||
### Dockerfile stages
|
||||
|
||||
Reference in New Issue
Block a user