mirror of
https://github.com/gmeligio/flutter-docker-image.git
synced 2026-05-24 12:30:34 +00:00
Compare commits
28 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9c23cccc58 | |||
| efa0acab8d | |||
| 91397e9d5d | |||
| 9f9f25d973 | |||
| 42ed24d66b | |||
| a150926917 | |||
| 9ca459f18f | |||
| f5a346fd44 | |||
| d2ad78c488 | |||
| 47fde777f9 | |||
| 984bd43ec3 | |||
| 2bcda57469 | |||
| a06f9699b2 | |||
| 063998e122 | |||
| 95eb215ee8 | |||
| 0e2d25235e | |||
| 4c89b17e47 | |||
| 6ba4c8cfef | |||
| 58a2d212f3 | |||
| 127cbb632a | |||
| c19f914064 | |||
| b82eba5586 | |||
| c603e9ff57 | |||
| 223c7015e0 | |||
| 6a07a0c350 | |||
| c1e92cfff2 | |||
| 8ebf1d5f2d | |||
| e6de03067e |
+2
-1
@@ -1,3 +1,4 @@
|
||||
/.env
|
||||
/test_app
|
||||
/.vscode
|
||||
/.vscode
|
||||
/.claude
|
||||
|
||||
+2
-2
@@ -150,9 +150,9 @@ ENV ANDROID_HOME="$SDK_ROOT/android-sdk" \
|
||||
ENV PATH="$PATH:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$HOME/.local/bin"
|
||||
|
||||
# renovate: suite=bookworm depName=openjdk-17-jdk-headless
|
||||
ARG OPENJDK_17_JDK_HEADLESS_VERSION="17.0.17+10-1~deb12u1"
|
||||
ARG OPENJDK_17_JDK_HEADLESS_VERSION="17.0.19+10-1~deb12u2"
|
||||
# renovate: suite=trixie depName=sudo
|
||||
ARG SUDO_VERSION="1.9.16p2-3"
|
||||
ARG SUDO_VERSION="1.9.16p2-3+deb13u1"
|
||||
|
||||
USER root
|
||||
# Add debian 12 bookworm repository alongside debian 13 trixie to install Java 17
|
||||
|
||||
@@ -1,3 +1,61 @@
|
||||
## [3.41.8] - 2026-05-01
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(release)* Upgrade flutter to 3.41.8 (#436)
|
||||
## [3.41.7] - 2026-05-01
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- *(deps)* Bump yaml from 2.8.2 to 2.8.3 (#432)
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(release)* Upgrade flutter to 3.41.7 (#434)
|
||||
## [3.41.6] - 2026-03-27
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(release)* Upgrade flutter to 3.41.6 (#431)
|
||||
## [3.41.5] - 2026-03-21
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(release)* Upgrade flutter to 3.41.5 (#430)
|
||||
## [3.41.4] - 2026-03-19
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(release)* Upgrade flutter to 3.41.4 (#429)
|
||||
## [3.41.2] - 2026-02-20
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(release)* Upgrade flutter to 3.41.2 (#427)
|
||||
## [3.41.1] - 2026-02-16
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(release)* Upgrade flutter to 3.41.1 (#426)
|
||||
## [3.41.0] - 2026-02-12
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(release)* Upgrade flutter to 3.41.0 (#424)
|
||||
## [3.38.9] - 2026-01-30
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(release)* Upgrade flutter to 3.38.9 (#420)
|
||||
## [3.38.8] - 2026-01-28
|
||||
|
||||
### 💼 Other
|
||||
|
||||
- Run npm update (#418)
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(release)* Upgrade flutter to 3.38.8 (#419)
|
||||
## [3.38.7] - 2026-01-15
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"flutter": {
|
||||
"channel": "stable",
|
||||
"commit": "3b62efc2a3da49882f43c372e0bc53daef7295a6",
|
||||
"version": "3.38.7"
|
||||
"commit": "02085feb3f5d8a8156e5e28512b9d99351d510c0",
|
||||
"version": "3.41.8"
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"flutter": {
|
||||
"channel": "stable",
|
||||
"commit": "3b62efc2a3da49882f43c372e0bc53daef7295a6",
|
||||
"version": "3.38.7"
|
||||
"commit": "02085feb3f5d8a8156e5e28512b9d99351d510c0",
|
||||
"version": "3.41.8"
|
||||
},
|
||||
"android": {
|
||||
"platforms": [
|
||||
@@ -17,7 +17,7 @@
|
||||
"version": "35.0.0"
|
||||
},
|
||||
"cmdlineTools": {
|
||||
"version": "19.0"
|
||||
"version": "20.0"
|
||||
},
|
||||
"ndk": {
|
||||
"version": "28.2.13676358"
|
||||
@@ -27,6 +27,6 @@
|
||||
}
|
||||
},
|
||||
"fastlane": {
|
||||
"version": "2.230.0"
|
||||
"version": "2.233.1"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+476
-5045
File diff suppressed because it is too large
Load Diff
@@ -23,10 +23,10 @@ The images includes the minimum tools to run Flutter and build apps. The version
|
||||
|
||||
## Features
|
||||
|
||||
* Installed Flutter SDK 3.38.7.
|
||||
* Installed Flutter SDK 3.41.8.
|
||||
* 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.230.0.
|
||||
* Cached Fastlane gem 2.233.1.
|
||||
* Minimal image with predownloaded SDKs and tools ready to run `flutter` commands for the Android platform.
|
||||
|
||||
Predownloaded SDKs and tools in Android:
|
||||
@@ -40,15 +40,15 @@ Predownloaded SDKs and tools in Android:
|
||||
|
||||
| Registry | flutter-android |
|
||||
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
||||
| Docker Hub | [gmeligio/flutter-android:3.38.7](https://hub.docker.com/r/gmeligio/flutter-android) |
|
||||
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.38.7](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
|
||||
| Quay | [quay.io/gmeligio/flutter-android:3.38.7](https://quay.io/repository/gmeligio/flutter-android) |
|
||||
| Docker Hub | [gmeligio/flutter-android:3.41.8](https://hub.docker.com/r/gmeligio/flutter-android) |
|
||||
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.41.8](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
|
||||
| Quay | [quay.io/gmeligio/flutter-android:3.41.8](https://quay.io/repository/gmeligio/flutter-android) |
|
||||
|
||||
On the terminal:
|
||||
|
||||
```bash
|
||||
# From GitHub Container Registry
|
||||
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.38.7 bash
|
||||
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.41.8 bash
|
||||
```
|
||||
|
||||
On a workflow in GitHub Actions:
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ghcr.io/gmeligio/flutter-android:3.38.7
|
||||
image: ghcr.io/gmeligio/flutter-android:3.41.8
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@@ -70,7 +70,7 @@ On a `.gitlab-ci.yml` in GitLab CI:
|
||||
|
||||
```yaml
|
||||
build:
|
||||
image: ghcr.io/gmeligio/flutter-android:3.38.7
|
||||
image: ghcr.io/gmeligio/flutter-android:3.41.8
|
||||
script:
|
||||
- flutter build apk
|
||||
```
|
||||
@@ -91,20 +91,20 @@ bundle exec fastlane
|
||||
|
||||
Every new tag on the flutter stable channel gets built. The tag is composed of the Flutter version used to build the image:
|
||||
|
||||
* Docker image: gmeligio/flutter-android:3.38.7
|
||||
* Flutter version: 3.38.7
|
||||
* Docker image: gmeligio/flutter-android:3.41.8
|
||||
* Flutter version: 3.41.8
|
||||
|
||||
## Building Locally
|
||||
|
||||
The android.Dockerfile expects a few arguments:
|
||||
|
||||
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.38.7
|
||||
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.41.8
|
||||
* `android_build_tools_version <string>`: The version of the Android SDK Build Tools to install. Example: 35.0.0
|
||||
* `android_platform_versions <list>`: The versions of the Android SDK Platforms to install, separated by spaces. Example: 36
|
||||
|
||||
```bash
|
||||
# Android
|
||||
docker build --target android --build-arg flutter_version=3.38.7 --build-arg fastlane_version=2.230.0 --build-arg android_build_tools_version=35.0.0 --build-arg android_platform_versions="36" -t android-test .
|
||||
docker build --target android --build-arg flutter_version=3.41.8 --build-arg fastlane_version=2.233.1 --build-arg android_build_tools_version=35.0.0 --build-arg android_platform_versions="36" -t android-test .
|
||||
```
|
||||
|
||||
## Roadmap
|
||||
|
||||
+3
-3
@@ -84,12 +84,12 @@ commandTests:
|
||||
excludedOutput:
|
||||
- Sending anonymous analytics information
|
||||
fileContentTests:
|
||||
- name: Android SDK Command-line Tools is version 19.0
|
||||
- name: Android SDK Command-line Tools is version 20.0
|
||||
path: /home/flutter/sdks/android-sdk/cmdline-tools/latest/source.properties
|
||||
expectedContents:
|
||||
- |-
|
||||
Pkg.Revision=19.0
|
||||
Pkg.Path=cmdline-tools;19.0
|
||||
Pkg.Revision=20.0
|
||||
Pkg.Path=cmdline-tools;20.0
|
||||
Pkg.Desc=Android SDK Command-line Tools
|
||||
- name: Dart and Flutter analytics are disabled
|
||||
path: /home/flutter/.dart-tool/dart-flutter-telemetry.config
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# escape=`
|
||||
|
||||
FROM mcr.microsoft.com/windows/servercore:ltsc2025@sha256:7404f9a26420caf446b117b0bab158dd0ec45a0b4eb73a345137c33f20125094 as flutter
|
||||
FROM mcr.microsoft.com/windows/servercore:ltsc2025@sha256:83374b6927f7945bb0933d03f158f84b03182017e2694fa23aedd24ea51434e4 as flutter
|
||||
|
||||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user