tuhaihe commented on PR #13: URL: https://github.com/apache/cloudberry-devops-release/pull/13#issuecomment-2853683674
> @leborchuk & @tuhaihe > > I have made significant progress in getting a smaller Ubuntu 22.04 docker images created (993MB vs. 1.4GB from this PR). I also have small changes to Cloudberry to allow the greenplum_path.sh to function properly. I also have a mechanism to create a .deb which functions similar to the .rpm implementation which creates a single directory (/usr/local/cloudberry-db-2.0.0) with a symbolic link to it (/usr/local/cloduberry-db). > > Here are my repositories: > > * https://github.com/edespino/cloudberry-devops-release/tree/ubuntu-22.04 > * https://github.com/edespino/cloudberry/tree/ubuntu-22.04 > > The container that I can build contains the necessary build time dependencies as well as .deb build dependencies. > > You will see that the container does not include the building of xerces-c. This is because it is available from standard ubuntu repositories where other build time dependencies are available. On Rocky Linux, xerces-c is only available from epel which for all intents and purposes is an un-trusted repository for reproducible build purposes. This is why for those platforms, it is built from source. Awesome! Thank you so much, Ed! I tested it out and successfully logged into the new container using your codebase. I noticed that your code changed a bit with @leborchuk's's PR in some files. I think it would be great if we could merge @leborchuk's’s PR to establish a base Ubuntu image. Then you could rebase your codebase to create a new PR to update and generate a newer Docker image. Trying to achieve perfection in just one PR might slow down our progress. What do you think about this approach? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org For additional commands, e-mail: commits-h...@cloudberry.apache.org