Compare commits

...

6 Commits

Author SHA1 Message Date
verified-commit[bot] 0d25c577cb chore(release): prepare for 3.35.5 2025-09-30 06:53:11 +00:00
verified-commit[bot] c569ba7b0c chore(release): upgrade flutter to 3.35.5 (#383)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: verified-commit[bot] <180343340+verified-commit[bot]@users.noreply.github.com>
2025-09-30 08:52:58 +02:00
renovate[bot] ba9ff36db0 chore(deps): update mcr.microsoft.com/windows/servercore:ltsc2025 docker digest to 25d131d (#380)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Eligio Mariño <22875166+gmeligio@users.noreply.github.com>
2025-09-29 22:21:39 +02:00
renovate[bot] 4cddcea7b4 chore(deps): update debian docker tag to v13 (#377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Eligio Mariño <22875166+gmeligio@users.noreply.github.com>
2025-09-24 14:41:37 +02:00
verified-commit[bot] 0d31f67ad2 chore(release): prepare for 3.35.4 2025-09-20 19:48:22 +00:00
verified-commit[bot] 18b3e138b2 chore(release): update flutter dependencies in version.json for 3.35.4 (#381)
Co-authored-by: verified-commit[bot] <180343340+verified-commit[bot]@users.noreply.github.com>
Co-authored-by: Eligio Mariño <22875166+gmeligio@users.noreply.github.com>
2025-09-20 21:48:03 +02:00
11 changed files with 67 additions and 36 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
"^Dockerfile$"
],
"matchStrings": [
"#\\s*renovate:\\s*release=(?<release>.*?) depName=(?<depName>.*?)\\sARG .*?_VERSION=\"(?<currentValue>.*)\"\\s"
"#\\s*renovate:\\s*suite=(?<suite>.*?) depName=(?<depName>.*?)\\sARG .*?_VERSION=\"(?<currentValue>.*)\"\\s"
],
"registryUrlTemplate": "https://deb.debian.org/debian?{{#if release }}release={{release}}{{else}}suite=stable{{/if}}&components=main,contrib,non-free&binaryArch=amd64",
"datasourceTemplate": "deb"
+1 -1
View File
@@ -217,7 +217,7 @@ jobs:
- name: Create commit message variable
run: |
echo "COMMIT_MESSAGE=chore(release): update flutter dependencies in version.json for ${{ env.FLUTTER_VERSION }}" >> $GITHUB_ENV
echo "COMMIT_MESSAGE=chore(release): upgrade flutter to ${{ env.FLUTTER_VERSION }}" >> $GITHUB_ENV
- name: Generate authentication token with GitHub App to trigger Actions
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
+22 -18
View File
@@ -1,19 +1,19 @@
FROM debian:12.11-slim@sha256:b1a741487078b369e78119849663d7f1a5341ef2768798f7b7406c4240f86aef AS flutter
FROM debian:13.1-slim@sha256:c2880112cc5c61e1200c26f106e4123627b49726375eb5846313da9cca117337 AS flutter
SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]
ENV LANG=C.UTF-8
# renovate: release=bullseye depName=curl
ARG CURL_VERSION="7.88.1-10+deb12u12"
# renovate: release=bullseye depName=git
ARG GIT_VERSION="1:2.39.5-0+deb12u2"
# renovate: release=bullseye depName=lcov
ARG LCOV_VERSION="1.16-1"
# renovate: release=bullseye depName=ca-certificates
ARG CA_CERTIFICATES_VERSION="20230311"
# renovate: release=bullseye depName=unzip
ARG UNZIP_VERSION="6.0-28"
# renovate: suite=trixie depName=curl
ARG CURL_VERSION="8.14.1-2"
# renovate: suite=trixie depName=git
ARG GIT_VERSION="1:2.47.3-0+deb13u1"
# renovate: suite=trixie depName=lcov
ARG LCOV_VERSION="2.3.1-1"
# renovate: suite=trixie depName=ca-certificates
ARG CA_CERTIFICATES_VERSION="20250419"
# renovate: suite=trixie depName=unzip
ARG UNZIP_VERSION="6.0-29"
USER root
RUN apt-get update \
@@ -93,10 +93,10 @@ FROM flutter AS fastlane
SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]
# renovate: release=bullseye depName=ruby-dev
ARG RUBY_VERSION="1:3.1"
# renovate: release=bullseye depName=build-essential
ENV BUILD_ESSENTIAL_VERSION="12.9"
# renovate: suite=trixie depName=ruby-dev
ARG RUBY_VERSION="1:3.3"
# renovate: suite=trixie depName=build-essential
ENV BUILD_ESSENTIAL_VERSION="12.12"
USER root
RUN apt-get update \
@@ -149,12 +149,14 @@ ENV ANDROID_HOME="$SDK_ROOT/android-sdk" \
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
ENV PATH="$PATH:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$HOME/.local/bin"
# renovate: release=bullseye depName=openjdk-17-jdk-headless
# renovate: suite=bookworm depName=openjdk-17-jdk-headless
ARG OPENJDK_17_JDK_HEADLESS_VERSION="17.0.16+8-1~deb12u1"
# renovate: release=bullseye depName=sudo
ARG SUDO_VERSION="1.9.13p3-1+deb12u1"
# renovate: suite=trixie depName=sudo
ARG SUDO_VERSION="1.9.16p2-3"
USER root
# Add debian 12 bookworm repository alongside debian 13 trixie to install Java 17
COPY config/debian_12_bookworm.sources /etc/apt/sources.list.d/debian_12_bookworm.sources
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
# For Android x86 emulators
@@ -172,6 +174,8 @@ RUN apt-get update \
# To allow changing ownership in GitLab CI /builds
sudo="$SUDO_VERSION" \
&& rm -rf /var/lib/apt/lists/* \
# Delete debian 12 bookworm repository after installing Java 17
&& rm /etc/apt/sources.list.d/debian_12_bookworm.sources \
# To allow changing ownership in GitLab CI /builds
&& echo "flutter ALL= NOPASSWD:/bin/chown -R flutter /builds, /bin/chown -R flutter /builds/*" >> /etc/sudoers.d/flutter
+12
View File
@@ -2,6 +2,18 @@
All notable changes to this project will be documented in this file.
## [3.35.5] - 2025-09-30
### ⚙️ Miscellaneous Tasks
- *(release)* Upgrade flutter to 3.35.5 (#383)
## [3.35.4] - 2025-09-20
### ⚙️ Miscellaneous Tasks
- *(release)* Update flutter dependencies in version.json for 3.35.4 (#381)
## [3.35.3] - 2025-09-05
### ⚙️ Miscellaneous Tasks
+13
View File
@@ -0,0 +1,13 @@
# Add debian 12 bookworm repository alongside debian 13 trixie to install Java 17
Types: deb
URIs: http://deb.debian.org/debian
Suites: bookworm bookworm-updates
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Types: deb
URIs: http://deb.debian.org/debian-security
Suites: bookworm-security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
+2 -2
View File
@@ -1,7 +1,7 @@
{
"flutter": {
"channel": "stable",
"commit": "a402d9a4376add5bc2d6b1e33e53edaae58c07f8",
"version": "3.35.3"
"commit": "ac4e799d237041cf905519190471f657b657155a",
"version": "3.35.5"
}
}
+2 -2
View File
@@ -1,8 +1,8 @@
{
"flutter": {
"channel": "stable",
"commit": "a402d9a4376add5bc2d6b1e33e53edaae58c07f8",
"version": "3.35.3"
"commit": "ac4e799d237041cf905519190471f657b657155a",
"version": "3.35.5"
},
"android": {
"platforms": [
+11 -11
View File
@@ -23,7 +23,7 @@ The images includes the minimum tools to run Flutter and build apps. The version
## Features
* Installed Flutter SDK 3.35.3.
* Installed Flutter SDK 3.35.5.
* 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.228.0.
@@ -40,15 +40,15 @@ Predownloaded SDKs and tools in Android:
| Registry | flutter-android |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Docker Hub | [gmeligio/flutter-android:3.35.3](https://hub.docker.com/r/gmeligio/flutter-android) |
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.35.3](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
| Quay | [quay.io/gmeligio/flutter-android:3.35.3](https://quay.io/repository/gmeligio/flutter-android) |
| Docker Hub | [gmeligio/flutter-android:3.35.5](https://hub.docker.com/r/gmeligio/flutter-android) |
| GitHub Container Registry | [ghcr.io/gmeligio/flutter-android:3.35.5](https://github.com/gmeligio/flutter-docker-image/pkgs/container/flutter-android) |
| Quay | [quay.io/gmeligio/flutter-android:3.35.5](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.35.3 bash
docker run --rm -it ghcr.io/gmeligio/flutter-android:3.35.5 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.35.3
image: ghcr.io/gmeligio/flutter-android:3.35.5
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.35.3
image: ghcr.io/gmeligio/flutter-android:3.35.5
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.35.3
* Flutter version: 3.35.3
* Docker image: gmeligio/flutter-android:3.35.5
* Flutter version: 3.35.5
## Building Locally
The android.Dockerfile expects a few arguments:
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.35.3
* `flutter_version <string>`: The version of Flutter to use when building. Example: 3.35.5
* `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.35.3 --build-arg fastlane_version=2.228.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.35.5 --build-arg fastlane_version=2.228.0 --build-arg android_build_tools_version=35.0.0 --build-arg android_platform_versions="36" -t android-test .
```
## Roadmap
+1
View File
@@ -0,0 +1 @@
java -version 2>&1 | awk -F[\".] '/version/ {print $2}'
+1
View File
@@ -0,0 +1 @@
jq -r '.releases[] | select(.channel=="stable") | max_by(.release_date) | .version'
+1 -1
View File
@@ -1,6 +1,6 @@
# escape=`
FROM mcr.microsoft.com/windows/servercore:ltsc2025@sha256:570916ae0393ca7784819b7ab17776b958ca702922c56dda1ae4e0eaadcac57f as flutter
FROM mcr.microsoft.com/windows/servercore:ltsc2025@sha256:25d131d0402e42725989569a1301504d56e0d786cefef33709dcc6c78d7845df as flutter
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]