Dockerfile update to install specific version of pg client tools#64
Open
jay-knight wants to merge 1 commit intomla:masterfrom
Open
Dockerfile update to install specific version of pg client tools#64jay-knight wants to merge 1 commit intomla:masterfrom
jay-knight wants to merge 1 commit intomla:masterfrom
Conversation
Running the existing image against a postgres 15 database results in ``` pg_dump: error: server version: 15.8 (Debian 15.8-1.pgdg120+1); pg_dump version: 14.0 (Debian 14.0-1.pgdg100+1) pg_dump: error: aborting because of server version mismatch ``` This update to the Dockerfile allows using a build arg to specify the version of postgres you want to install. You could use this to build one for each version of postgres. According to https://wiki.postgresql.org/wiki/Apt, the versions currently available in the apt repo are 10, 11, 12, 13, 14, 15, 16, 17, 18 devel
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.
Running the existing image against a postgres 15 database results in
This update to the Dockerfile allows using a build arg to specify the version of postgres client tools you want to install. You could use this to build one for each version of postgres.
According to https://wiki.postgresql.org/wiki/Apt, the versions currently available in the apt repo are 10, 11, 12, 13, 14, 15, 16, 17, 18 devel