Replies: 1 comment 1 reply
-
Do you know what are the missing dependencies? Is there a tool like |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions