TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why Postgres Extensions should be packaged and distributed as OCI images

27 pointsby samaysharmaabout 1 year ago

4 comments

lrvickabout 1 year ago
Great timing. Just 2 weeks ago I produced what to my knowledge is the first full-source-bootstrapped, deterministic, and OCI-native PostgreSQL package.<p>Built and signed by multiple people and entirely distro agnostic. You can even build with your pick of several OCI engines on several operating systems so maximally portable too.<p>If extensions are packaged similarly it will sure make my life easier integrating them.<p>If you are going to package with only one standard, OCI is the most portable and flexible choice today IMO.<p><a href="https:&#x2F;&#x2F;codeberg.org&#x2F;stagex&#x2F;stagex&#x2F;src&#x2F;branch&#x2F;main&#x2F;packages&#x2F;postgresql&#x2F;Containerfile" rel="nofollow">https:&#x2F;&#x2F;codeberg.org&#x2F;stagex&#x2F;stagex&#x2F;src&#x2F;branch&#x2F;main&#x2F;packages&#x2F;...</a>
评论 #39949035 未加载
评论 #39949016 未加载
Vonngabout 1 year ago
Why not continue to use rpm&#x2F;apt for building and packaging? You can reuse these packages in the Dockerfile and the image, but not the other way around.
评论 #39928483 未加载
ahacheteabout 1 year ago
Happy to see this in HN (thanks for submitting it!). OP here. AMA
ziltiabout 1 year ago
Repeat after me: Docker is not a package manager, and OCI not a package format.