8000 Docker image base could potentially use the `chiseled` variant for approx 50% image size reduction · Issue #1012 · TechnitiumSoftware/DnsServer · GitHub
[go: up one dir, main page]

Skip to content
Docker image base could potentially use the chiseled variant for approx 50% image size reduction #1012
@polarathene

Description

@polarathene

Just for awareness, MS offers slimmed down images when the bare essentials for the runtime are sufficient: https://github.com/dotnet/dotnet-docker/blob/main/documentation/ubuntu-chiseled.md

There are a few types at that link, I've not checked to see what is compatible with Technitium, but the mcr.microsoft.com/dotnet/runtime:8.0-noble-chiseled is only 87 MiB uncompressed compared to the base presently used that is 217MiB uncompressed:

FROM mcr.microsoft.com/dotnet/aspnet:8.0

The current image published is 270 MiB, so a rough estimate of around 140 MiB might be achievable. Something to consider :)

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

      0