Skip to content

Add Ubuntu Chiseled extra images for .NET Runtime and ASP.NET Core #5021

Closed

Description

@lbussell

There is a desire to use globalization libraries in combination with framework-dependent deployments on Ubuntu Chiseled:

Changes:

Example image flavors:

  • mcr.microsoft.com/dotnet/aspnet:8.0-jammy-chiseled-extra
  • mcr.microsoft.com/dotnet/aspnet:8.0-jammy-chiseled-composite-extra
  • mcr.microsoft.com/dotnet/nightly/aspnet:8.0-cbl-mariner2.0-distroless-extra
  • mcr.microsoft.com/dotnet/nightly/aspnet:8.0-cbl-mariner2.0-distroless-composite-extra

Activity

  1. self-assigned this
    on Nov 21, 2023
  2. ghost added
    area-dockerfiles
    on Nov 21, 2023
  3. moved this from Backlog to Sprint in .NET Dockeron Nov 21, 2023
  4. moved this from Sprint to In Progress in .NET Dockeron Nov 21, 2023
  5. richlander commented on Nov 22, 2023

    @richlander
    Member

    Related: #5014

    Just wanting GH to reference the related issues for discoverability.

  6. Kerwood commented on Nov 27, 2023

    @Kerwood

    Yes please.. We have a lot of .Net apps in our org. depending on the tzdata package as well, which is the reason we cannot change to the chiseled image.

  7. changed the title [-]Add Ubuntu Chiseled extra images for runtime and aspnet[/-] [+]Add Ubuntu Chiseled `extra` images for .NET Runtime and ASP.NET Core[/+] on Nov 27, 2023
  8. moved this from In Progress to Rollout in .NET Dockeron Nov 30, 2023
  9. lbussell commented on Nov 30, 2023

    @lbussell
    MemberAuthor

    [Triage] As mentioned in #5014 (comment), these images are available now in the nightly aspnet and nightly runtime repos. They will be officially supported with the next .NET servicing release (Jan).

  10. mantasaudickas commented on Dec 6, 2023

    @mantasaudickas

    If I get it right: alpine3.18-extra (nightly) includes these packages:

    • icu-data-full
    • icu-libs
    • tzdata

    and chiseled-extra:

    • libicu70_libs
    • tzdata_zoneinfo
    • tzdata_zoneinfo-icu

    Are these covering the same ICU/Timezone aspects in .NET apps?

  11. lbussell commented on Dec 6, 2023

    @lbussell
    MemberAuthor

    Yes, you can check the packages installed in the Dockerfiles themselves:

    RUN apk add --upgrade --no-cache \
    ca-certificates-bundle \
    \
    # .NET dependencies
    icu-data-full \
    icu-libs \
    libgcc \
    libssl3 \
    libstdc++ \
    tzdata \
    zlib

    && chisel-wrapper --generate-dpkg-status /rootfs/var/lib/dpkg/status -- \
    --release ubuntu-22.04 --root /rootfs \
    base-files_base \
    base-files_release-info \
    ca-certificates_data \
    libc6_libs \
    libgcc-s1_libs \
    libicu70_libs \
    libssl3_libs \
    libstdc++6_libs \
    tzdata_zoneinfo \
    tzdata_zoneinfo-icu \
    zlib1g_libs

    The new extra images for Chiseled Runtime and ASP.NET Core are based on this image. You can inspect the contents of each image in the distros' respective package repositories. For example:

    We aspire for these images be functionally equivalent for running .NET apps (aside from the lack of package manager and shell in Ubuntu Chiseled). If you find that they aren't, please file an issue.

  12. garrettsutula commented on Dec 7, 2023

    @garrettsutula
    Contributor

    Would it be possible to make the same for earlier versions of .NET e.g. 6.0?

    Helpful for the same reasons really - I expect to update projects on older versions of the .NET framework but don't have that done yet.

  13. mantasaudickas commented on Dec 7, 2023

    @mantasaudickas

    We aspire for these images be functionally equivalent for running .NET apps (aside from the lack of package manager and shell in Ubuntu Chiseled). If you find that they aren't, please file an issue.

    Sorry, but for me still not clear.. I get that from functionality point of view these will be equivalent.. but what about data?
    In alpine-extra we have icu-data-full... so which package in chiseled-extra is equivalent to it?

  14. moved this from Rollout to In Progress in .NET Dockeron Dec 7, 2023
  15. moved this from In Progress to Rollout in .NET Dockeron Jan 4, 2024
  16. ElkRom commented on Jan 9, 2024

    @ElkRom

    Hi,
    Sorry for asking such stupid question, but when do you plan to release image?

  17. MichaelSimons commented on Jan 9, 2024

    @MichaelSimons
    Member

    Hi, Sorry for asking such stupid question, but when do you plan to release image?

    They will be released today - See #5014 (comment).

  18. lbussell commented on Jan 9, 2024

    @lbussell
    MemberAuthor

    These images are now available in the main aspnet and runtime repos. Please see the announcement: Ubuntu Chiseled runtime and aspnet images are now available in the extra variant (#5092).

  19. moved this from Rollout to Done in .NET Dockeron Jan 9, 2024
  20. ElkRom commented on Jan 10, 2024

    @ElkRom
  21. coffeesandwitch commented on Feb 13, 2024

    @coffeesandwitch

    Looking at using the '-jammy-chiseled-extra' package for our deployments, currently we are using the bloated '-jammy' so we can set the timezone within the dockerfile. would the new -extra package rely soly upon the regional settings as configured in .net?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-dockerfiles

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions