Skip to content

Provide base image for Native AOT #4748

@richlander

Description

@richlander

Our NativeAOT offering appears to work fine on just alpine, for example. Using FROM alpine is cool, but that means those apps lose out on our non-root offering and cannot (straightforwardly) follow the same patterns. Also, the HTTP port isn't pre-defined. That seems bad.

However, our runtime-deps images are too big.

mcr.microsoft.com/dotnet/runtime-deps   8.0-preview-alpine   1175254963e8   35 hours ago     13.5MB
alpine                                  latest               5053b247d78b   4 weeks ago      7.66MB

I don't have a concrete proposal to offer yet.

Questions (about our Alpine images):

  • We're installing ca-certificates in addition to the ca-certificates-bundle package that comes with Alpine. I discovered this since Native AOT apps are able to call HTTPS end points (via HttpClient) w/plain alpine (no ca-certificates installed).
  • Do we strictly need to install Kerberos?

Some size info:

  • alpine: 7.66MB
  • + ca-certificates-bundle, libgcc, libssl3, zlib: 7.82MB
  • + libstdc++: 10.2MB
  • + krb5-libs: 12.9MB
  • + ca-certificates: 13.5MB

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions