docker-base-distro/apko/flutter.yaml
Mathias Beaulieu-Duncan 734939fd12 Initial base distro with apko/Wolfi configs
Five minimal OCI image variants built with apko:
- base: ~5.5MB glibc runtime (wolfi-baselayout, libstdc++, ca-certs, tzdata)
- build: base + build tools (bash, git, curl, wget, unzip, xz)
- dotnet-runtime: base + ICU, OpenSSL, zlib for .NET runtime
- dotnet-sdk: build + ICU, OpenSSL, zlib for .NET SDK
- flutter: build variant configured for Flutter SDK

Includes melange package definitions for .NET 10 SDK/runtime and
Flutter SDK (for future use when building custom APKs).

CI/CD pipelines: publish on release, Scout CVE comparison on PRs,
weekly rebuild for Wolfi security patches.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 02:32:32 -05:00

45 lines
747 B
YAML

contents:
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
repositories:
- https://packages.wolfi.dev/os
packages:
# Base runtime
- wolfi-baselayout
- glibc
- glibc-locale-posix
- libstdc++
- ca-certificates-bundle
- tzdata
# Build tools
- bash
- busybox
- coreutils
- git
- curl
- wget
- unzip
- xz
accounts:
groups:
- groupname: flutter
gid: 65532
users:
- username: flutter
uid: 65532
gid: 65532
run-as: 65532
archs:
- x86_64
- aarch64
environment:
TZ: UTC
FLUTTER_HOME: /opt/flutter
PATH: /opt/flutter/bin:/opt/flutter/bin/cache/dart-sdk/bin:/usr/bin:/bin:/usr/sbin:/sbin
entrypoint:
command: /bin/bash