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>
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
package:
|
|
name: dotnet-10-runtime
|
|
version: 10.0.0
|
|
epoch: 0
|
|
description: ".NET 10 Runtime from official Microsoft binaries"
|
|
copyright:
|
|
- license: MIT
|
|
|
|
environment:
|
|
contents:
|
|
keyring:
|
|
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
|
|
repositories:
|
|
- https://packages.wolfi.dev/os
|
|
packages:
|
|
- wolfi-baselayout
|
|
- busybox
|
|
- curl
|
|
|
|
pipeline:
|
|
- runs: |
|
|
case "$(uname -m)" in
|
|
x86_64) ARCH="x64" ;;
|
|
aarch64) ARCH="arm64" ;;
|
|
*) echo "Unsupported arch: $(uname -m)" && exit 1 ;;
|
|
esac
|
|
|
|
DOTNET_VERSION="${{package.version}}"
|
|
|
|
# Download .NET runtime from Microsoft
|
|
curl -fsSL "https://dotnetcli.azureedge.net/dotnet/Runtime/${DOTNET_VERSION}/dotnet-runtime-${DOTNET_VERSION}-linux-${ARCH}.tar.gz" \
|
|
-o /tmp/dotnet-runtime.tar.gz
|
|
|
|
# Install to package destination
|
|
mkdir -p "${{targets.destdir}}/usr/share/dotnet"
|
|
tar xf /tmp/dotnet-runtime.tar.gz -C "${{targets.destdir}}/usr/share/dotnet"
|
|
|
|
# Create symlink
|
|
mkdir -p "${{targets.destdir}}/usr/bin"
|
|
ln -s /usr/share/dotnet/dotnet "${{targets.destdir}}/usr/bin/dotnet"
|
|
|
|
rm /tmp/dotnet-runtime.tar.gz
|