File tree Expand file tree Collapse file tree 3 files changed +2
-192
lines changed Expand file tree Collapse file tree 3 files changed +2
-192
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ COPY nuget.config .
55COPY HelloWorldStatic.csproj .
66RUN dotnet restore --runtime linux-musl-x64 HelloWorldStatic.csproj
77
8- # Remove once https://github.com/dotnet/runtime/pull/79501 lands and propagates.
9- COPY Microsoft.NETCore.Native.Unix.targets /root/.nuget/packages/microsoft.dotnet.ilcompiler/8.0.0-alpha.1.22609.9/build/Microsoft.NETCore.Native.Unix.targets
108COPY . .
119RUN dotnet publish -c Release -r linux-musl-x64 -o out HelloWorldStatic.csproj /p:InvariantGlobalization=false /bl
1210
Original file line number Diff line number Diff line change 1111 <InvariantGlobalization Condition =" '$(InvariantGlobalization)' == ''" >false</InvariantGlobalization >
1212 <StaticICULinking Condition =" '$(InvariantGlobalization)' != 'true'" >true</StaticICULinking >
1313 <DefineConstants Condition =" '$(InvariantGlobalization)' == 'true'" >$(DefineConstants);NO_GLOBALIZATION</DefineConstants >
14+ <StaticExecutable >true</StaticExecutable >
1415 </PropertyGroup >
1516
16- <ItemGroup >
17- <LinkerArg Include =" -static" />
18- </ItemGroup >
19-
2017 <ItemGroup >
2118 <RuntimeHostConfigurationOption Include =" Switch.System.Reflection.Disabled.DoNotThrowForAssembly" Value =" true" />
2219 </ItemGroup >
2320
2421 <ItemGroup >
25- <PackageReference Include =" Microsoft.DotNet.ILCompiler" Version =" 8.0.0-alpha.1.22609.9 " />
22+ <PackageReference Include =" Microsoft.DotNet.ILCompiler" Version =" 8.0.0-alpha.1.22625.2 " />
2623 </ItemGroup >
2724
2825</Project >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments