Repository navigation
feat(oci): add multi-stage Containerfile, systemd Quadlet, and CI smoke test - #32
Open
AdeshDeshmukh wants to merge 2 commits into
Open
AdeshDeshmukh wants to merge 2 commits into
AdeshDeshmukh wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces Cloud-Native OCI container packaging and systemd Quadlet integration for the Ghostscript Printer Application, enabling turnkey deployment on immutable Linux desktops (Universal Blue / Bluefin, Bazzite, Fedora Silverblue) and containerized servers.
This follows the OCI container packaging standard established in
ps-printer-app(PR #43).Key Architectural Highlights
Multi-Stage Containerfile:
libcups(3.x),pappl(v1.4.x stable branch),pdfio,libcupsfilters,libppd, andpappl-retrofit, bundling Ghostscript rasterizer drivers. Includesfastestmirror=Trueandmax_parallel_downloads=10for resilient DNF downloads.quay.io/fedora/fedora-minimal:41, running rootless as unprivileged user1001:lp.Systemd Quadlet Integration (
packaging/quadlet/ghostscript-printer-app.container):/run/dbus/system_bus_socket:roso PAPPL can register DNS-SD/mDNS services directly with the host's Avahi daemon without daemon collisions.Network=host) and drops all Linux capabilities (DropCapability=ALL) for least privilege.CI Build & Smoke Test Workflow (
.github/workflows/oci-container.yml):200 OKon port 8000.Documentation (
README.md):--cap-drop=ALL), local image tag overrides, and AppArmor guidance for Debian/Ubuntu/Mint Docker hosts.Verification
Pre-tested on GitHub Actions cloud runners (Run #45367416766):
HTTP/1.1 200 OK(Server: Ghostscript_Printer_Application/1.0 PAPPL/1.4.13 CUPS IPP/2.0)