Skip to content

How to install through Dockerfile into a Microsoft's Mariner (Azure) Linux deployment  #1997

@alerine1

Description

@alerine1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions