On Ubuntu this will take care of the dependencies generating a .webP file
FROM mcr.microsoft.com/dotnet/aspnet:6.0-focal AS runtime
RUN apt-get update
RUN apt-get install -y libicu-dev fontconfig-config
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true
RUN apt-get install -y libgdiplus linux-libc-dev
COPY . .
ENTRYPOINT ["dotnet", "Yourapp.dll"]
But now I would like to use Mariner 1.x or 2.x and apt-get doesn't work, only way is tdnf <= but packages are not found.
Without the RUN commands on the Docker file regardless if I use the SkiaSharp with or without dependencies, I got an error of a missing dependency. But this only works on Ubuntu apparently, not on Mariner/Cosmic (deployment)
Anyone has been able to generate webp files on Mariner's Linux? Thanks
On Ubuntu this will take care of the dependencies generating a .webP file
FROM mcr.microsoft.com/dotnet/aspnet:6.0-focal AS runtime
RUN apt-get update
RUN apt-get install -y libicu-dev fontconfig-config
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true
RUN apt-get install -y libgdiplus linux-libc-dev
COPY . .
ENTRYPOINT ["dotnet", "Yourapp.dll"]
But now I would like to use Mariner 1.x or 2.x and apt-get doesn't work, only way is tdnf <= but packages are not found.
Without the RUN commands on the Docker file regardless if I use the SkiaSharp with or without dependencies, I got an error of a missing dependency. But this only works on Ubuntu apparently, not on Mariner/Cosmic (deployment)
Anyone has been able to generate webp files on Mariner's Linux? Thanks