Build configuration examples for testing and documentation: - build-minimal.yaml - Auto-detect everything - build-go-cli.yaml - Cross-platform CLI - build-go-wails.yaml - Desktop app with frontend - build-go-library.yaml - Library (no binary) - build-docker.yaml - Multi-arch container - build-docker-go.yaml - Go binary + Docker - build-linuxkit.yaml - Immutable Linux images - build-php-laravel.yaml - FrankenPHP + Laravel - build-multi-binary.yaml - Multiple binaries - build-full.yaml - All available options Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 lines
659 B
YAML
33 lines
659 B
YAML
# Example: LinuxKit Build Configuration
|
|
# Immutable Linux images
|
|
|
|
version: 1
|
|
|
|
project:
|
|
name: myserver
|
|
type: linuxkit
|
|
|
|
linuxkit:
|
|
config: .core/linuxkit/server.yml
|
|
|
|
formats:
|
|
- iso # Bootable ISO (BIOS/EFI)
|
|
- qcow2 # QEMU/KVM/Proxmox
|
|
- raw # Raw disk image
|
|
- vmdk # VMware
|
|
- docker # Docker-loadable tarball
|
|
|
|
platforms:
|
|
- linux/amd64
|
|
- linux/arm64
|
|
|
|
# Output naming
|
|
name: "{{.Project}}-{{.Version}}"
|
|
|
|
# The linuxkit config file (.core/linuxkit/server.yml) defines:
|
|
# - kernel version
|
|
# - init system
|
|
# - services to run
|
|
# - files to include
|
|
#
|
|
# See linuxkit-server.yml example
|