Spoc 399: Improve base image and its creation#310
Merged
mason-sharp merged 6 commits intomainfrom Jan 12, 2026
Merged
Conversation
Dockerfile improvements: - Add build dependencies (git, zstd-devel, libxml2-devel) - Fix Rocky Linux package compatibility (dnsutils → bind-utils) - Add readline-devel for enhanced psql interactive experience - Remove redundant packages (keep only -devel variants) - Remove duplicate perl-IPC-Run installation (use system package) - Fix cpanm cache cleanup to target correct directory - Remove unnecessary ownership change operations - Improve code consistency and documentation The base image now provides complete PostgreSQL build dependencies for all configure flags (zstd, lz4, ICU, libxml, libxslt, GSSAPI, LDAP, PAM, LLVM, OpenSSL, systemd, Python). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Embed comprehensive build metadata for exact reproduction: - Capture build timestamp, git commit, branch, and Rocky Linux version - Store metadata in /etc/pgedge/build-info.txt (printed during build) - Add OCI standard labels to image - Tag images with both :latest and :commit-sha - Print all metadata to workflow output Documentation updated with build reproducibility section. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable native builds for both Intel/AMD and Apple Silicon systems: - Add QEMU setup for cross-platform emulation - Configure Docker Buildx for multiplatform builds - Build and push linux/amd64 and linux/arm64 variants - Create multiplatform manifest for automatic architecture selection - Update documentation to reflect platform support Docker automatically selects the correct architecture when pulling, providing optimal native performance on Apple Silicon Macs. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
mason-sharp
approved these changes
Jan 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.