mirror of
https://github.com/gmeligio/flutter-docker-image.git
synced 2026-05-24 12:30:34 +00:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ba4c8cfef | |||
| 58a2d212f3 | |||
| 127cbb632a | |||
| c19f914064 | |||
| b82eba5586 | |||
| c603e9ff57 | |||
| 223c7015e0 | |||
| 6a07a0c350 | |||
| c1e92cfff2 | |||
| 8ebf1d5f2d | |||
| e6de03067e | |||
| de1c26f02e | |||
| eff8b99ce8 |
+1
-1
@@ -150,7 +150,7 @@ 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.18+8-1~deb12u1"
|
||||
# renovate: suite=trixie depName=sudo
|
||||
ARG SUDO_VERSION="1.9.16p2-3"
|
||||
|
||||
|
||||
@@ -1,3 +1,32 @@
|
||||
## [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
|
||||
|
||||
- *(release)* Upgrade flutter to 3.38.7 (#416)
|
||||
## [3.38.6] - 2026-01-09
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"flutter": {
|
||||
"channel": "stable",
|
||||
"commit": "8b872868494e429d94fa06dca855c306438b22c0",
|
||||
"version": "3.38.6"
|
||||
"commit": "582a0e7c5581dc0ca5f7bfd8662bb8db6f59d536",
|
||||
"version": "3.41.1"
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"flutter": {
|
||||
"channel": "stable",
|
||||
"commit": "8b872868494e429d94fa06dca855c306438b22c0",
|
||||
"version": "3.38.6"
|
||||
"commit": "582a0e7c5581dc0ca5f7bfd8662bb8db6f59d536",
|
||||
"version": "3.41.1"
|
||||
},
|
||||
"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.232.1"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+450
-5043
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.6.
|
||||
* Installed Flutter SDK 3.41.1.
|
||||
* 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.232.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.6](https://hub.docker.com/r/gmeligio/flutter-android) |
|
||||
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.38.6](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
|
||||
| Quay | [quay.io/gmeligio/flutter-android:3.38.6](https://quay.io/repository/gmeligio/flutter-android) |
|
||||
| Docker Hub | [gmeligio/flutter-android:3.41.1](https://hub.docker.com/r/gmeligio/flutter-android) |
|
||||
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.41.1](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
|
||||
| Quay | [quay.io/gmeligio/flutter-android:3.41.1](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.6 bash
|
||||
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.41.1 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.6
|
||||
image: ghcr.io/gmeligio/flutter-android:3.41.1
|
||||
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.6
|
||||
image: ghcr.io/gmeligio/flutter-android:3.41.1
|
||||
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.6
|
||||
* Flutter version: 3.38.6
|
||||
* Docker image: gmeligio/flutter-android:3.41.1
|
||||
* Flutter version: 3.41.1
|
||||
|
||||
## Building Locally
|
||||
|
||||
The android.Dockerfile expects a few arguments:
|
||||
|
||||
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.38.6
|
||||
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.41.1
|
||||
* `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.6 --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.1 --build-arg fastlane_version=2.232.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:eb8ed8a3de3aad8458468075c3e0b7755174867e96705c4f2553e98ec5d55d95 as flutter
|
||||
|
||||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user