Skip to content

Commit 972ba26

Browse files
Merge pull request #245 from Suriya-Balamurugan/main
Update the latest SkiaSharp version for Linux conversion samples
2 parents 92a8d80 + ef209a6 commit 972ba26

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

FAQs/Copy-fonts-to-linux-containers/Copy-fonts-to-linux-containers.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
<ItemGroup>
1111
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.14" />
12-
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.0-preview.209" />
13-
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="2.8.2-preview.209" />
12+
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.6" />
13+
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="7.3.0" />
1414
<PackageReference Include="Syncfusion.DocIORenderer.Net.Core" Version="*" />
1515
</ItemGroup>
1616

FAQs/Copy-fonts-to-linux-containers/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22

3-
FROM mcr.microsoft.com/dotnet/runtime:3.1-bionic AS base
3+
FROM mcr.microsoft.com/dotnet/runtime:8.0-jammy AS base
44
RUN apt-get update -y && apt-get install fontconfig -y
55
WORKDIR /app
66
#Copy fonts to linux containers from a folder.
77
COPY ["Fonts/*.*", "/usr/local/share/fonts/"]
8-
FROM mcr.microsoft.com/dotnet/sdk:3.1-bionic AS build
8+
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build
99
WORKDIR /src
1010
COPY ["Copy-fonts-to-linux-containers.csproj", "."]
1111
RUN dotnet restore "./Copy-fonts-to-linux-containers.csproj"

Word-to-Image-conversion/Convert-Word-to-image/Linux/Convert-Word-Document-to-Image/Convert-Word-Document-to-Image.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="2.8.2.2" />
13-
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.2" />
12+
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="7.3.0" />
13+
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.6" />
1414
<PackageReference Include="Syncfusion.DocIORenderer.Net.Core" Version="*" />
1515
</ItemGroup>
1616

0 commit comments

Comments
 (0)