Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Using nuget restore from .NET 5.0 no longer requires first updating ca-certificates  #593

Description

@ryanhill1

Quantum/Build/images/samples/Dockerfile lines 29-38 update ca-certificates package:

    # As per https://github.com/NuGet/Announcements/issues/49,
    # we also need to update the ca-certificates package
    # to use nuget restore from .NET 5.0.
    # This requries enabling debian-unstable, so we do so as a
    # separate command.
    cp /etc/apt/sources.list /etc/apt/sources.list.backup && \
    echo "deb https://deb.debian.org/debian unstable main" >> /etc/apt/sources.list && \
    apt-get -y update && \
    apt-get -y install ca-certificates=20211016 && \
    mv /etc/apt/sources.list.backup /etc/apt/sources.list && \

However, after looking through the updates of the above-linked NuGet issue, it seems that the Debian Family Linux distros that were originally impacted have since resolved the issues. Are lines 29-38 in the samples Dockerfile still necessary? Or am I wrong, and have these later Debian releases still not resolved all lingering issues?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Kind-MaintenanceRequest or suggestion for general code quality improvements

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions