Repository navigation
Publish a full image with sidecars and a slim image - #24
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8707f7d. Configure here.
There was a problem hiding this comment.
Stale comment
Left a non-blocking comment: Cursor Bugbot reported 3 unresolved issues, including a high-severity Dockerfile UID/useradd problem, so this PR is not approved. Human review is needed, and no reviewers were assigned.
Sent by Cursor Approval Agent: Pull Request Router and Approver: github



Summary
The default image now contains process-wrapper together with the sidecars it usually supervises; the process-wrapper-only image moves to the
-slimtag.vX.Y.Z,latestdeployment/docker/Dockerfiledebian:12-slimwith process-wrapper, envoy, proxysql, amqproxy, gomcrouter, phpscope + phpspyvX.Y.Z-slim,latest-slimdeployment/docker/Dockerfile-slim(the previousDockerfile)alpinewith process-wrapper onlyFull image
GOMAXPROCS=2, runs as UID/GID1010.CI and release
--version.vX.Y.Z,vX.Y.Z-slim,latestandlatest-slim.Docs
README (Installation, Docker), CONTRIBUTING, SECURITY and the Makefile (
docker-build,docker-build-slim) are updated.Testing
Note
ghcr.io/tentens-tech/process-wrapper:v0.10.89(already published) is the slim image; starting with the next release the unsuffixed tag is the full image. Use-slimto copy the binary into your own image.Note
Medium Risk
Changes default image contents and tagging (existing
vX.Y.Zconsumers may expect the old slim image), and the full Dockerfile pulls third-party packages and external binaries into the release path.Overview
Introduces two published container images: the default tag (
vX.Y.Z/latest) becomes a fulldebian:12-slimimage bundling process-wrapper with common sidecars (envoy, proxysql, amqproxy, gomcrouter, phpscope, phpspy); the former single-image build moves toDockerfile-slimand is tagged-slim/latest-slimon Alpine with only process-wrapper.CI and release build both variants (matrix on
fullvsslim), use separate GHA cache scopes, and for the full image add a job step that checks sidecar binaries. Release pushes four per-arch images and creates multi-arch manifests for both tag families; release notes and copy-from examples now point at-slimfor embedding the binary.Docs and tooling:
make docker-build-slim, README/CONTRIBUTING/SECURITY describe the two images; e2e builds fromDockerfile-slimso tests stay on the minimal image.Reviewed by Cursor Bugbot for commit 287449a. Bugbot is set up for automated code reviews on this repo. Configure here.