feat(docker): reproducible fula-gateway image for federated masters#30
Open
ehsan6sha wants to merge 2 commits into
Open
feat(docker): reproducible fula-gateway image for federated masters#30ehsan6sha wants to merge 2 commits into
ehsan6sha wants to merge 2 commits into
Conversation
Multi-stage build of the fula-gateway bin (cargo build --release -p fula-cli) on rust:1-bookworm with a slim Debian runtime. Env-driven config only; /data volume for durable state (pin queue, registry CID). Consumed by the federated-master installer in functionland/pinning-service (gateway compose profile, auto-enabled when the image exists). Closes #29 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…gateway The pin queue, registry CID, and local-retain backlog default to /var/lib/fula-gateway (config.rs); the /data volume was wrong - without a mount there, pin retries/crash recovery silently degrade to fire-and-forget. Found by the federated-master e2e (startup WARNs). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Member
Author
|
E2E evidence (Phase 1.5 drill run on the clean Ubuntu 24.04 test box):
Full drill suite: functionland/pinning-service#47 (RESULT pass=18 fail=0). 🤖 Generated with Claude Code |
ehsan6sha
added a commit
that referenced
this pull request
Jun 12, 2026
…this branch (PR #30 lands first)
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.
Adds
docker/Dockerfile.gateway— a reproducible build recipe for thefula-gatewayimage (multi-stage: rust:1-bookworm builds-p fula-cli --bin fula-gateway; debian:bookworm-slim runtime; env-driven config;/datavolume for the durable pin queue + registry CID).Consumed by the federated-master installer (functionland/pinning-service
update-scripts/join-as-master.sh— the compose "gateway" profile auto-enables when this image exists on the box). No gateway behavior changes.E2E (test box, clean Ubuntu 24.04): image build + container serving the S3 API against the box's adopted kubo + cluster writer — results will be posted as a comment (part of the Phase 1.5 drill run).
Closes #29
🤖 Generated with Claude Code