Skip to content

docker: reduce unnecessary server image tooling - #661

Open
jjj-n wants to merge 1 commit into
agentregistry-dev:mainfrom
jjj-n:fix/659-reduce-server-image-tooling
Open

docker: reduce unnecessary server image tooling#661
jjj-n wants to merge 1 commit into
agentregistry-dev:mainfrom
jjj-n:fix/659-reduce-server-image-tooling

Conversation

@jjj-n

@jjj-n jjj-n commented Aug 28, 2026

Copy link
Copy Markdown

Description

Remove unnecessary tooling from the server image:

  • stop installing make in the Go builder, which invokes go build directly;
  • stop installing curl in the runtime image;
  • replace the Docker Compose HTTP health check with a TCP check using Bash's /dev/tcp, matching the Helm chart probes.

Alternative implementation to #660. This version preserves the existing line endings, invokes Bash explicitly for /dev/tcp, and has been validated end to end with Docker Compose.

Fixes #659

Change Type

/kind cleanup

Changelog

NONE

Additional Notes

Validated by:

  • building the complete server image;
  • confirming git and bash remain available while curl and make are absent from the runtime;
  • starting the Docker Compose stack and waiting for both PostgreSQL and AgentRegistry to become healthy;
  • verifying /v0/ping returns {"pong":true};
  • confirming the TCP check fails when no process is listening.

Signed-off-by: jjj-n <1357598741@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reduce unnecessary tooling in the server image

1 participant