mirror of
https://github.com/gmeligio/flutter-docker-image.git
synced 2026-05-24 12:30:34 +00:00
chore: update dependencies versions in manifest with flutter 3.13.4 (#73)
Co-authored-by: gmeligio <gmeligio@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6f7990d7a8
commit
e03fa590c9
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"flutter": {
|
||||
"channel": "stable",
|
||||
"commit": "2524052335ec76bb03e04ede244b071f1b86d190",
|
||||
"version": "3.13.3"
|
||||
"commit": "367f9ea16bfae1ca451b9cc27c1366870b187ae2",
|
||||
"version": "3.13.4"
|
||||
},
|
||||
"android": {
|
||||
"platforms": [
|
||||
|
||||
+10
-10
@@ -10,7 +10,7 @@ The images includes the minimum tools to run Flutter and build apps. The version
|
||||
|
||||
Features:
|
||||
|
||||
* \[x\] Installed Flutter SDK 3.13.3
|
||||
* \[x\] Installed Flutter SDK 3.13.4
|
||||
* \[x\] Analytics disabled by default, opt-in suggested in the Docker entrypoint.
|
||||
* \[x\] Rootless user `flutter:flutter`, with permissions to run on GitLab CI.
|
||||
* \[x\] Cached Fastlane gem 2.214.0
|
||||
@@ -50,13 +50,13 @@ On the terminal:
|
||||
|
||||
```bash
|
||||
# From Docker Hub
|
||||
docker run --rm -it gmeligio/flutter-android:3.13.3 bash
|
||||
docker run --rm -it gmeligio/flutter-android:3.13.4 bash
|
||||
|
||||
# From GitHub Container Registry
|
||||
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.13.3 bash
|
||||
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.13.4 bash
|
||||
|
||||
# From Quay.io
|
||||
docker run --rm -it quay.io/gmeligio/flutter-android:3.13.3 bash
|
||||
docker run --rm -it quay.io/gmeligio/flutter-android:3.13.4 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.13.3
|
||||
image: ghcr.io/gmeligio/flutter-android:3.13.4
|
||||
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.13.3
|
||||
image: ghcr.io/gmeligio/flutter-android:3.13.4
|
||||
script:
|
||||
- flutter build apk
|
||||
```
|
||||
@@ -100,8 +100,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.13.3
|
||||
* Flutter version: 3.13.3
|
||||
* Docker image: gmeligio/flutter-android:3.13.4
|
||||
* Flutter version: 3.13.4
|
||||
|
||||
## Developing locally
|
||||
|
||||
@@ -109,13 +109,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.13.3
|
||||
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.13.4
|
||||
* `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.13.3 fastlane_version=2.214.0 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.13.4 fastlane_version=2.214.0 android_build_tools_version=30.0.3 --build-arg android_platform_versions="33" -t android-test .
|
||||
```
|
||||
|
||||
### Dockerfile stages
|
||||
|
||||
Reference in New Issue
Block a user