Repository navigation
gateway: a signed release image, and a smoke test in CI - #16
Merged
Merged
Conversation
gateway/Dockerfile builds lz-gateway like the relay's image (same pinned bases, distroless, uid 65532), with /var/lib/lz-gateway owned by that user so a named volume works as is. The Images workflow publishes it as lantern-zero-gateway from the next tag. gateway/smoke-test.sh, run in CI, checks the image starts read-only as 65532, keeps its sealing key at 0600, rejects bad requests, and logs nothing about them. Co-Authored-By: Claude Opus 5.5 <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.
For v0.1.3: publishes the reference push gateway as a signed image, so vendors (first, Wizard on staging) can run a tagged release rather than a build of their own.
gateway/Dockerfile: same pinned base images as the relay's and the server's; distroless, uid 65532, read-only root./var/lib/lz-gatewayis created owned by 65532, so a named volume gets the right owner..github/workflows/images.yml: builds and signsghcr.io/principlezerolabs/lantern-zero-gatewayfor linux/amd64 and linux/arm64.gateway/smoke-test.shand agateway-imageCI job: the Images workflow runs only on tags, so this catches a broken image before a release. Checks it starts read-only as 65532, the sealing key is 0600 in the volume, bad requests get 400/404, and the log has nothing from them.RELEASING.md,gateway/README.md: the new image (verify it like the others; make the package public after v0.1.3)..dockerignorealso excludes*.p8.No server, client, or
lz-protochanges: doesn't touch key handling.(Per-address limits and
apns-sandboxfollow in a separate PR.)🤖 Generated with Claude Code