particle-os-cli/examples/debian-server.yml
2025-08-27 15:21:27 -07:00

34 lines
1.1 KiB
YAML

---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
# Debian Server Recipe (using Fedora base with Debian package management)
# Supports Debian 13 (Trixie), 14 (Forky), and Sid
# Debian 12 (Bookworm) is no longer supported
# This demonstrates how to use the existing Fedora infrastructure for Debian-style builds
name: debian-server
description: Debian server image with common server packages
base-image: ghcr.io/ublue-os/silverblue-main
image-version: latest
# Modules to apply to the final image
modules:
- type: script
snippets:
- echo "Building Debian-style server on Fedora infrastructure"
- echo "OS Version detected from base image"
- echo "This demonstrates how the os_version template variable works"
- echo "In a real implementation, this would use the os_version for Debian-specific logic"
- type: files
files:
- source: files/
destination: /tmp/files/
- type: script
scripts:
- scripts/setup-ssh.sh
- scripts/configure-services.sh
env:
SSH_PORT: "2222"
SSH_USER: "admin"
NGINX_PORT: "80"
POSTGRES_PORT: "5432"