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

Dockerfile: Install postgresql-client from current base image repo #467

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

amCap1712
Copy link
Member

(copied from metabrainz/listenbrainz-server@1ce3af2)

PostgreSQL doesn't currently support xenial.

  1. This approach will eliminate the need to change repository source names every time the base image is updated to a newer version.
  2. This approach is mentioned on PostgreSQL docs - https://www.postgresql.org/download/linux/ubuntu/

Output of cat /etc/apt/sources.list.d/pgdg.list: deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main 12 which is correct for current base image.

(copied from metabrainz/listenbrainz-server@1ce3af2)

PostgreSQL doesn't currently support xenial.

1. This approach will eliminate the need to change repository source names
   every time the base image is updated to a newer version.
2. This approach is mentioned on PostgreSQL docs - https://www.postgresql.org/download/linux/ubuntu/

Output of `cat /etc/apt/sources.list.d/pgdg.list`:
`deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main 12`
which is correct for current base image.
@github-actions

This comment has been minimized.

@amCap1712 amCap1712 merged commit 9620264 into master Sep 26, 2022
@amCap1712 amCap1712 deleted the update-pg-repo branch September 26, 2022 11:49
@github-actions
Copy link

Unit Test Results

    1 files  ±0      1 suites  ±0   2m 15s ⏱️ ±0s
198 tests ±0  198 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 9620264. ± Comparison against base commit 9620264.

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

Successfully merging this pull request may close these issues.

1 participant