Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AOT variant for SDK image, or include clang and zlib1g-dev packages in the image #5035

Closed
hach-que opened this issue Dec 1, 2023 · 2 comments

Comments

@hach-que
Copy link

hach-que commented Dec 1, 2023

Describe the Problem

When building an AOT application using mcr.microsoft.com/dotnet/sdk:8.0, you get a failure unless you install the clang and zlib1g-dev packages.

Describe the Solution

Either the sdk:8.0 image should include RUN apt-get install -y clang zlib1g-dev, or there should be an AOT variant like sdk: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 run apt-get update && apt-get install -y clang zlib1g-dev first, which slows the build down.

@MichaelSimons
Copy link
Member

Please see the (Preview) Native AOT Images section of the .NET 8.0 Container Announcement for information about an experimental aot sdk image.

@lbussell
Copy link
Contributor

lbussell commented Dec 7, 2023

[Triage] Closing as duplicate of #5020

@lbussell lbussell closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2023
@github-project-automation github-project-automation bot moved this from Backlog to Done in .NET Docker Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants