starrocks/docker/dockerfiles/be
yandongxiao 23965e357e
[BugFix] Remove the deregister logic from container (#63085)
Signed-off-by: yandongxiao <yandongxiao@starrocks.com>
2025-09-24 16:37:38 +08:00
..
README.md [Tool][Docker] make BE image generic for both BE and CN (#19954) 2023-03-22 10:49:54 +08:00
be-ubi.Dockerfile [BugFix] preserve the non-priviledged user account (#47494) 2024-06-27 14:27:44 +08:00
be-ubuntu.Dockerfile [Enhancement] support minimal docker image for FE/BE (#59772) 2025-06-11 11:57:30 +08:00
be_entrypoint.sh [Enhancement][be] make the sleep interval configurable in be_entrypoint.sh (#48866) 2024-07-25 17:04:43 -07:00
be_prestop.sh [Enhancement] Relocate docker runtime scripts together with Dockerfile (#18155) 2023-02-21 18:51:17 -08:00
cn_entrypoint.sh [BugFix] Remove the deregister logic from container (#63085) 2025-09-24 16:37:38 +08:00
cn_prestop.sh [Enhancement] Relocate docker runtime scripts together with Dockerfile (#18155) 2023-02-21 18:51:17 -08:00
upload_coredump.sh [Enhancement] Add config option to skip removing giant core dump and check actual disk usage (#60708) 2025-08-01 10:52:28 +08:00

README.md

Starrocks be/cn ubuntu image

1 Build Starrocks be/cn ubuntu image for k8s deployment

DOCKER_BUILDKIT=1 docker build -f be-ubuntu.Dockerfile -t ghcr.io/OWNER/starrocks/be-ubuntu:<tag> ../../..

E.g.:

  • Use artifact image to package runtime container
DOCKER_BUILDKIT=1 docker build --build-arg ARTIFACT_SOURCE=image --build-arg ARTIFACTIMAGE=ghcr.io/starrocks/starrocks/artifact-ubuntu:main -f be-ubuntu.Dockerfile -t be-ubuntu:main ../../..
  • Use locally build artifacts to package runtime container
DOCKER_BUILDKIT=1 docker build --build-arg ARTIFACT_SOURCE=local --build-arg LOCAL_REPO_PATH=. -f be-ubuntu.Dockerfile -t ghcr.io/starrocks/starrocks/be-ubuntu:main ../../..

2 Publish image to ghcr

docker push ghcr.io/OWNER/starrocks/be-ubuntu:<tag>

E.g.:

docker push ghcr.io/starrocks/starrocks/be-ubuntu:main

3 CN image

Image built from previous steps can be used as compute node image, the only difference is the entrypoint script.

  • be_entrypoint.sh : be start script
  • cn_entrypoint.sh : cn start script