Skip to content

Add Dockerfile and docs for building Cloudberry Docker Images#1607

Draft
tuhaihe wants to merge 3 commits intoapache:mainfrom
tuhaihe:devops-docker-image
Draft

Add Dockerfile and docs for building Cloudberry Docker Images#1607
tuhaihe wants to merge 3 commits intoapache:mainfrom
tuhaihe:devops-docker-image

Conversation

@tuhaihe
Copy link
Member

@tuhaihe tuhaihe commented Mar 10, 2026

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


@tuhaihe tuhaihe marked this pull request as draft March 10, 2026 10:04
@tuhaihe
Copy link
Member Author

tuhaihe commented Mar 10, 2026

Try:

docker build -f devops/build/packaging/docker/Dockerfile.rocky9 -t apache/cloudberry:2.1 .

docker run --rm -it \                         1 ↵
  -d \
  --name cloudberry-db \
  -e POSTGRES_HOST_AUTH_METHOD=trust \
  -p 5432:5432 \
  apache/cloudberry:2.1

docker exec -it cloudberry-db bash -lc "source /usr/local/cloudberry-db/cloudberry-env.sh && psql -d postgres"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant