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.13.9 (#113)
Co-authored-by: gmeligio <gmeligio@users.noreply.github.com>
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"flutter": {
|
||||
"channel": "stable",
|
||||
"commit": "6c4930c4ac86fb286f30e31d0ec8bffbcbb9953e",
|
||||
"version": "3.13.8"
|
||||
"commit": "d211f42860350d914a5ad8102f9ec32764dc6d06",
|
||||
"version": "3.13.9"
|
||||
},
|
||||
"android": {
|
||||
"platforms": [
|
||||
|
||||
@@ -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.8
|
||||
* \[x\] Installed Flutter SDK 3.13.9
|
||||
* \[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.216.0
|
||||
@@ -50,13 +50,13 @@ On the terminal:
|
||||
|
||||
```bash
|
||||
# From Docker Hub
|
||||
docker run --rm -it gmeligio/flutter-android:3.13.8 bash
|
||||
docker run --rm -it gmeligio/flutter-android:3.13.9 bash
|
||||
|
||||
# From GitHub Container Registry
|
||||
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.13.8 bash
|
||||
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.13.9 bash
|
||||
|
||||
# From Quay.io
|
||||
docker run --rm -it quay.io/gmeligio/flutter-android:3.13.8 bash
|
||||
docker run --rm -it quay.io/gmeligio/flutter-android:3.13.9 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.8
|
||||
image: ghcr.io/gmeligio/flutter-android:3.13.9
|
||||
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.8
|
||||
image: ghcr.io/gmeligio/flutter-android:3.13.9
|
||||
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.8
|
||||
* Flutter version: 3.13.8
|
||||
* Docker image: gmeligio/flutter-android:3.13.9
|
||||
* Flutter version: 3.13.9
|
||||
|
||||
## 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.8
|
||||
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.13.9
|
||||
* `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.8 fastlane_version=2.216.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.9 fastlane_version=2.216.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