Skip to content

Fix Docker build: point pgdg apt source at apt-archive for bullseye - #2

Closed
Luckinber with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-failing-github-actions-job
Closed

Luckinber with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Oct 27, 2026 •

Copy link
Copy Markdown

The build job fails at apt-get update in the Dockerfile. The postgres:10.23-bullseye base image still points apt at apt.postgresql.org, which now returns 404 for bullseye-pgdg. That repository was moved to apt-archive.postgresql.org.

Changes

  • Dockerfile: The first RUN now rewrites the host in /etc/apt/sources.list.d/pgdg.list to apt-archive.postgresql.org before running apt-get update.
RUN sed -i 's|http://apt.postgresql.org/pub/repos/apt|http://apt-archive.postgresql.org/pub/repos/apt|' /etc/apt/sources.list.d/pgdg.list \
 && apt-get update && apt-get install -y locales

Notes for review

  • I haven't built the image. The sed assumes the base image keeps its pgdg source in /etc/apt/sources.list.d/pgdg.list.
  • The rewrite is only needed while the base image stays pinned to the EOL postgres:10.23-bullseye. Moving to a supported PostgreSQL version would remove the need for it.

Co-authored-by: Luckinber <31784679+Luckinber@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Fix Docker build: point pgdg apt source at apt-archive for bullseye Oct 27, 2026
Copilot stopped work on behalf of Luckinber due to an error October 27, 2026 03:44
Copilot AI requested a review from Luckinber October 27, 2026 03:44
@Luckinber Luckinber closed this Oct 27, 2026
@Luckinber
Luckinber deleted the copilot/fix-failing-github-actions-job branch October 27, 2026 03:47
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.

2 participants