-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
alpine build should be built with /p:PortableBuild=true #25659
Comments
@eerhardt I've found that we don't need to do anything for coreclr. We always build it as ICU version agnostic with dynamic lookup at runtime. And passing the '-portable' option would cause the build to produce linux-x64 named packages. So it seems that until we have real end to end support for musl-linux RID, we should just modify the src/Native/build-native.sh to pass -DFEATURE_DISTRO_AGNOSTIC_SSL=1 to CMake for Alpine. |
@eerhardt so I've found that we already build the native corefx stuff with -portable flag in our official build: Running: /root/corefx-1529936/src/Native/build-native.sh --RuntimeOS=alpine.3.6 --OfficialBuildId=20180328-06 x64 Release Linux --numproc 4 -portable stripSymbols toolSetDir=c:\tools\clr /p:PortableBuild=false /p:StabilizePackageVersion=false /p:PackageVersionStamp= That means that we don't need to do anything now. |
Can this be closed / moved to future then? |
@janvorli, now that we have |
/cc @weshaggard. I believe Wes is going to be updating the package names. |
This issue spans both
dotnet/corefx
anddotnet/coreclr
.In order to support our runtime on musl-based distros that are not alpine, we should be building our runtime with
/p:PortableBuild=true
. This will enable loading the correct libicu and libssl that are on the distro.See
This is a follow up to: https://github.com/dotnet/core-setup/issues/3817
The text was updated successfully, but these errors were encountered: