AOT variant for SDK image, or include clang
and zlib1g-dev
packages in the image
#5035
Labels
clang
and zlib1g-dev
packages in the image
#5035
Describe the Problem
When building an AOT application using
mcr.microsoft.com/dotnet/sdk:8.0
, you get a failure unless you install theclang
andzlib1g-dev
packages.Describe the Solution
Either the
sdk:8.0
image should includeRUN apt-get install -y clang zlib1g-dev
, or there should be an AOT variant likesdk:8.0-aot
that includes these extra packages.Additional Context
Without an additional image that includes the dependencies needed for building AOT applications, builds using the
sdk:8.0
image have to runapt-get update && apt-get install -y clang zlib1g-dev
first, which slows the build down.The text was updated successfully, but these errors were encountered: