feat: add Quartermaster OCI image - #370
Merged
Merged
Conversation
When quma itself runs in a container mounting the same SPT dir, path-based container detection can match quma's own container instead of the SPT server. Check for the configured container name first; path detection stays as fallback for native installs. Credit: https://github.com/Dildz/quma-custom (commit 2f762ae) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Closes #313
container/quma/Containerfile— two-stage build that downloads the pre-built binary from a GitHub release, verifies the SHA-256 checksum, and packages it into a minimalfedora-minimalruntime image.github/workflows/quma-image.yml— builds and pushesghcr.io/cebarks/quartermaster/qumaon release events and manual dispatchUsage
The bind-mounted SPT directory must be writable (database, config, logs, backups are written there).
Limitations
Test plan
podman build --build-arg QUMA_VERSION=v0.3.1succeeds, checksum verifiedpodman run --entrypoint quma quma:verify --version→quma 0.3.1podman run quma:verifywithout SPT dir → clean error messageQUMA_VERSION→ clear error guardImplemented with the help of Claude Code