Skip to content

Support debian 10, the default ms dotnetcore 3.0 sdk image #1725

Open

Description

@wwwlicious

Are there any plans to support debian 10 which is the default dotnetcore 3.0 sdk image from microsoft?

Activity

  1. bording commented on Oct 15, 2019

    @bording
    Member

    I don't have an ETA for you, but it is something I want to get working when I've got some free time to research/test the new distros that we need to support.

  2. xophp commented on Dec 10, 2019

    @xophp

    Hello, does anybody know if libgit2sharp is working on Debian 10?

  3. xophp commented on Dec 11, 2019

    @xophp

    Hi, I was able to answer my question by myself.
    It seems the Debian version, which is used by the Microsoft Docker templates by default, is not supported. But Ubuntu 18.04 is. So all you have to do is to replace
    mcr.microsoft.com/dotnet/core/aspnet:3.0-buster with
    mcr.microsoft.com/dotnet/core/aspnet:3.0-bionic
    and
    mcr.microsoft.com/dotnet/core/sdk:3.0-buster with
    mcr.microsoft.com/dotnet/core/sdk:3.0-bionic
    in your Docker file.
    Then, quite at the end of the docker file (after the binaries are copied from the build image to the runtime image) add the following line:
    RUN cp /app/runtimes/ubuntu.18.04-x64/native/* /app/

    With this changes it was able to get it running.

  4. arturcic commented on Mar 28, 2020

    @arturcic
    Contributor

    @bording any updates on this?

  5. bording commented on Mar 28, 2020

    @bording
    Member
  6. gitfool commented on Mar 30, 2020

    @gitfool

    Same problem with Ubuntu 20.04 (#1747), which is next LTS due soon. Fingers crossed you can unblock #1618.

  7. atrauzzi commented on Apr 8, 2020

    @atrauzzi

    Landing here from GitTools/GitVersion#2204....

    Would love to be able to see support not just for 20.04 coming up, but possibly also 19.10 so that we aren't in any situations where this library is being blocked by or is blocking others.

  8. arturcic commented on Apr 8, 2020

    @arturcic
    Contributor

    @atrauzzi it depends on #1618

  9. atrauzzi commented on Apr 8, 2020

    @atrauzzi

    Thanks @arturcic Is there any way people can install a backported/old version of the dependency that's failing in the interim?

  10. bording commented on Jan 26, 2021

    @bording
    Member

    FYI, the latest preview release should work on all distros.

  11. danielgarner64 commented on Jun 2, 2021

    @danielgarner64

    For anyone using aspnet 5.0 aspnet, by default your docker conatiner is still using Debian 10 by default.
    To fix this you can change the following line in your Dockerfile from:
    FROM mcr.microsoft.com/dotnet/aspnet:5.0
    to:
    FROM mcr.microsoft.com/dotnet/aspnet:5.0-alpine3.12 AS base

    This will use the alpine linux version of aspnet which has precompiled binaries in the lib2gitsharp.NativeBinaries Nuget Package.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions