Skip to content

Conversation

@gagik
Copy link
Contributor

@gagik gagik commented Jul 17, 2025

No description provided.

Copilot AI review requested due to automatic review settings July 17, 2025 13:48
@gagik gagik requested a review from a team as a code owner July 17, 2025 13:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Debian 10 Dockerfile to use archived “buster” repositories (archive.debian.org) and removes the obsolete buster-updates entries so CI builds continue working against end-of-life Debian 10.

  • Add sed commands to rewrite /etc/apt/sources.list to use archive.debian.org and drop buster-updates
  • Continue with apt-get update and package installations

Comment on lines 8 to 9
RUN sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list
RUN sed -i 's|http://security.debian.org/debian-security|http://archive.debian.org/debian-security|g' /etc/apt/sources.list
Copy link

Copilot AI Jul 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Dockerfile switches apt sources to HTTP, which exposes package metadata to unencrypted transport. Since archive.debian.org supports HTTPS, consider using https://archive.debian.org/... for improved security.

Suggested change
RUN sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list
RUN sed -i 's|http://security.debian.org/debian-security|http://archive.debian.org/debian-security|g' /etc/apt/sources.list
RUN sed -i 's|http://deb.debian.org/debian|https://archive.debian.org/debian|g' /etc/apt/sources.list
RUN sed -i 's|http://security.debian.org/debian-security|https://archive.debian.org/debian-security|g' /etc/apt/sources.list

Copilot uses AI. Check for mistakes.
@gagik gagik merged commit 16257d0 into main Jul 17, 2025
105 of 111 checks passed
@gagik gagik deleted the gagik/use-archive branch July 17, 2025 14:48
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.

3 participants