- Updated SPEC.md: Changed systemd requirements to distribution-dependent init system - Updated ARCHITECTURE.md: Added OpenRC hardening options and init script locations - Updated build-alpine.sh: Replaced systemd-dev with openrc, use /etc/init.d - Created configs/linux-patch-api-openrc: Full OpenRC init script - Added Dockerfile.rpm for RPM build container Init system support: - systemd: Debian, Ubuntu, RHEL, CentOS, Fedora - OpenRC: Alpine Linux Binary remains init-system agnostic - no Rust code changes required.
15 lines
444 B
Docker
15 lines
444 B
Docker
# Fedora container with Node.js for GitHub Actions support
|
|
# Used for RPM package builds in CI/CD
|
|
FROM fedora:latest
|
|
|
|
# Install Node.js (required for GitHub Actions JavaScript-based actions)
|
|
# Also install dnf-plugins-core for potential multiarch support
|
|
RUN dnf install -y nodejs dnf-plugins-core && \
|
|
dnf clean all
|
|
|
|
# Verify node is available
|
|
RUN node --version
|
|
|
|
# Default command (not used in CI, but good for testing)
|
|
CMD ["/bin/bash"]
|