Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding PG16 and reworking to minimal Alpine image #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BigAlRender
Copy link

We received a ticket from a customer who wanted PG16 backup support. Unfortunately, just adding "16" to the script wasn't cutting it.

Purely as a suggestion, I've created a reworked version based on Alpine.

It makes the image much smaller (~85%):

REPOSITORY              TAG               IMAGE ID       CREATED          SIZE
pg_dump_alpine          latest            8467c6648381   17 minutes ago   178MB
pg_dump_original        latest            ef5ea1b1433d   22 minutes ago   1.15GB

However, it's not all upsides:

  • It does require a little more config, ALPINE_VERSION along with POSTGRES_VERSION (values in README)
  • Alpine doesn't seem to have an apk package for PG11.

@BigAlRender BigAlRender self-assigned this Jun 14, 2024
@Weixuanf
Copy link

@BigAlRender is this planned to be merged?

@Weixuanf
Copy link

Weixuanf commented Jul 15, 2024

if not i guess i'll just fork this as my repo (https://github.com/BigAlRender/postgres-s3-backups/tree/main) and set

POSTGRES_VERSION = 16

ALPINE_VERSION = 3.20

and it should be good to go?

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

Successfully merging this pull request may close these issues.

2 participants