Commit Graph
3 Commits
Author SHA1 Message Date
Rahul NairandGitHub a2cec8321e Backport docker-init binary to 26.3 (#103577)
Add the `docker-init` subcommand to the clickhouse multi-tool binary.
This is the compiled entrypoint for distroless Docker images (no shell,
no coreutils). Without it, distroless images crash on startup since the
Dockerfile uses `clickhouse docker-init` as the entrypoint.

Cherry-pick of programs/ changes from b7a8f051c8f1 (master).
2026-04-27 01:31:34 -07:00
Rahul NairandGitHub 4892b1a5f9 Revert "Backport distroless Docker support to 26.3 (#103156)" (#103575)
This reverts commit 48fc911f51d07a7e3aa29435df29289d6045c5c5.
2026-04-26 21:41:07 -07:00
Rahul NairandGitHub b3baadbcab Backport distroless Docker support to 26.3 (#103156)
Add the docker-init entrypoint binary and CI integration needed for
distroless images. The Dockerfiles were backported in #102923 but the
binary they reference (clickhouse docker-init) was missing.

Cherry-picked from master:
- programs/docker-init/ (entrypoint binary)
- programs/main.cpp, programs/CMakeLists.txt (register docker-init)
- ci/jobs/docker_server.py (add distroless build support)
- ci/jobs/scripts/docker_server/ (test config and test cases)
2026-04-26 21:36:49 -07:00