chore: update flutter dependencies in version.json for 3.19.0 (#163)

Co-authored-by: gmeligio <gmeligio@users.noreply.github.com>
This commit is contained in:
Eligio Mariño
2024-02-16 13:32:56 +01:00
committed by GitHub
parent 53f89b4aa4
commit 420fd5c36e
4 changed files with 22 additions and 17 deletions
+6 -3
View File
@@ -1,17 +1,20 @@
{
"flutter": {
"channel": "stable",
"commit": "41456452f29d64e8deb623a3c927524bcf9f111b",
"version": "3.16.9"
"commit": "bae5e49bc2a867403c43b2aae2de8f8c33b037e4",
"version": "3.19.0"
},
"android": {
"platforms": [
{
"version": 33
},
{
"version": 34
}
],
"gradle": {
"version": "7.5"
"version": "7.6.3"
},
"buildTools": {
"version": "30.0.3"
+12 -12
View File
@@ -10,7 +10,7 @@ The images includes the minimum tools to run Flutter and build apps. The version
Features:
1. \[x\] Installed Flutter SDK 3.16.9
1. \[x\] Installed Flutter SDK 3.19.0
2. \[x\] Analytics disabled by default, opt-in if `ENABLE_ANALYTICS` environment variable is passed when running the container.
3. \[x\] Rootless user `flutter:flutter`, with permissions to run on GitLab CI.
4. \[x\] Cached Fastlane gem 2.219.0
@@ -30,8 +30,8 @@ The images are experimental and are in active development. They are being used f
Predownloaded SDKs and tools:
* Licenses accepted
* Android SDK Platforms: 33
* Gradle: 7.5
* Android SDK Platforms: 33, 34
* Gradle: 7.6.3
Registries:
@@ -50,13 +50,13 @@ On the terminal:
```bash
# From Docker Hub
docker run --rm -it gmeligio/flutter-android:3.16.9 bash
docker run --rm -it gmeligio/flutter-android:3.19.0 bash
# From GitHub Container Registry
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.16.9 bash
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.19.0 bash
# From Quay.io
docker run --rm -it quay.io/gmeligio/flutter-android:3.16.9 bash
docker run --rm -it quay.io/gmeligio/flutter-android:3.19.0 bash
```
On a workflow in GitHub Actions:
@@ -66,7 +66,7 @@ jobs:
build:
runs-on: ubuntu-22.04
container:
image: ghcr.io/gmeligio/flutter-android:3.16.9
image: ghcr.io/gmeligio/flutter-android:3.19.0
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -78,7 +78,7 @@ On a `.gitlab-ci.yml` in GitLab CI:
```yaml
build:
image: ghcr.io/gmeligio/flutter-android:3.16.9
image: ghcr.io/gmeligio/flutter-android:3.19.0
script:
- flutter build apk
```
@@ -101,8 +101,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.16.9
* Flutter version: 3.16.9
* Docker image: gmeligio/flutter-android:3.19.0
* Flutter version: 3.19.0
## Developing locally
@@ -110,13 +110,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.16.9
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.19.0
* `android_build_tools_version <string>`: The version of the Android SDK Build Tools to install. Example: 30.0.3
* `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.16.9 --build-arg fastlane_version=2.219.0 --build-arg android_build_tools_version=30.0.3 --build-arg android_platform_versions="33" -t android-test .
docker build --target android --build-arg flutter_version=3.19.0 --build-arg fastlane_version=2.219.0 --build-arg android_build_tools_version=30.0.3 --build-arg android_platform_versions="33, 34" -t android-test .
```
### Dockerfile stages
+3 -1
View File
@@ -1 +1,3 @@
docker build --target android --build-arg flutter_version=3.7.4 android_build_tools_version=30.0.3 --build-arg android_platform_versions="28 31 33" -t android-test .
#!/usr/bin/env bash
docker build --target android --build-arg flutter_version=3.19.0 --build-arg android_build_tools_version=30.0.3 --build-arg android_platform_versions="28 31 33 34" --build-arg fastlane_version=2.219.0 -t android-test .
+1 -1
View File
@@ -8,7 +8,7 @@ CACHE_REPOSITORY_PATH="ghcr.io/$IMAGE_REPOSITORY_PATH"
echo "FASTLANE_VERSION=$(jq -r '.fastlane.version' "$VERSION_MANIFEST")"
echo "ANDROID_PLATFORM_VERSIONS=$(jq -r '.android.platforms[].version' "$VERSION_MANIFEST")"
echo "ANDROID_PLATFORM_VERSIONS=$(jq -r '.android.platforms[].version' "$VERSION_MANIFEST" | tr '\n' ' ' | sed 's/ $//')"
echo "IMAGE_REPOSITORY_PATH=$IMAGE_REPOSITORY_PATH"