You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't run a simple Hello Word in Alpine Linux (netcoreapp2.1) #13287
SDK Version: 2.1.300
In Windows OS,I build it and It run OK, ( Tested it In Centos 7.0 it run OK )
But,
First, Alpine Linux use the newest Alpine version .net core runtime
But I put all files in Release Directory to Alpine Linux,When I run it, I get a error (Top Picture)
Let me at least put the list of runtime dependencies here (I've verified them with a bare bones Alpine docker image):
For .NET Core 2.1 and 3.1
icu-libs (this is not needed if globalization is disabled)
krb5-libs
libintl
libssl1.1 (for Alpine >= 3.9 or libssl 1.0 for older ones)
libstdc++
lttng-ust
numactl (optional, useful only for devices with NUMA enabled)
zlib
Activity
janvorli commentedon Jun 1, 2018
Based on the log above, you need to install the libintl package (apk add libintl)
AreYouQQ commentedon Jun 1, 2018
after I run "Apk add libintl ",
It also has error
AreYouQQ commentedon Jun 1, 2018
when I "apk add icu" ,it run OK
Thanks
janvorli commentedon Jun 1, 2018
You need to install all the prerequisite packages: icu, openssl, krb5, curl, zlib. Optionally lttng-ust too.
janvorli commentedon Jun 1, 2018
The openssl, krb5 and curl are needed if you use HTTPS / crypto stuff.
AreYouQQ commentedon Jun 1, 2018
Thanks
I think Microsoft dotnet (http://dot.net) website alphine install document need to add your help.
janvorli commentedon Jun 1, 2018
@AreYouQQ right, I have not noticed that that site is missing details on Alpine installation. I'll make sure we fix that.
janvorli commentedon Jun 21, 2019
@richlander the issue here is that on the http://dot.net site, we don't list dependencies that need to be installed on Alpine Linux to be able to use .NET Core. We don't even list them on https://docs.microsoft.com/cs-cz/dotnet/core/linux-prerequisites?tabs=netcore30.
So unless people use our docker images, they are clueless on what to install.
Could you please look into adding such doc or find someone who could do that? I am assigning this issue to you for now.
12 remaining items
NikolaMilosavljevic commentedon Mar 30, 2020
According the following page Alpine Linux 3.7+ is supported with .NET Core 2.1:
https://github.com/dotnet/core/blob/master/release-notes/2.1/2.1-supported-os.md
@leecow is there an installation page for .NET Core 2.1 for Alpine Linux? It seems that there are additional dependencies that need to be documented.
Thraka commentedon Apr 28, 2020
ping @leecow
janvorli commentedon Apr 29, 2020
Let me at least put the list of runtime dependencies here (I've verified them with a bare bones Alpine docker image):
For .NET Core 2.1 and 3.1
janvorli commentedon Apr 29, 2020
There is a link to x64 Alpine installation page for 2.1 here: https://dotnet.microsoft.com/download/dotnet-core/2.1
Similar for 3.1 here:
https://dotnet.microsoft.com/download/dotnet-core/3.1
However it doesn't list the dependencies.
Thraka commentedon Apr 30, 2020
@rbhanda @leecow Can you comment?
janvorli commentedon Apr 30, 2020
I am going to update the https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore30#linux-distribution-dependencies. I am sorry, I've missed @mairaw pinging me long time ago.