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

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

Open
wwwlicious opened this issue Oct 14, 2019 · 11 comments
Open

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

wwwlicious opened this issue Oct 14, 2019 · 11 comments

Comments

@wwwlicious
Copy link

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

@bording
Copy link
Member

bording commented Oct 15, 2019

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.

@xophp
Copy link

xophp commented Dec 10, 2019

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

@xophp
Copy link

xophp commented Dec 11, 2019

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.

@arturcic
Copy link
Contributor

@bording any updates on this?

@bording
Copy link
Member

bording commented Mar 28, 2020

@arturcic See #1703 (comment)

@gitfool
Copy link

gitfool commented Mar 30, 2020

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

@atrauzzi
Copy link

atrauzzi commented Apr 8, 2020

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.

@arturcic
Copy link
Contributor

arturcic commented Apr 8, 2020

@atrauzzi it depends on #1618

@atrauzzi
Copy link

atrauzzi commented Apr 8, 2020

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

@bording
Copy link
Member

bording commented Jan 26, 2021

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

@danielgarner64
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants