Skip to content

Dockerfile templating should be removed from ImageBuilder #1748

@lbussell

Description

@lbussell

Of all the repos that use ImageBuilder, only two use its templating features:

dotnet-docker makes heavy use of templating to generate hundreds of Dockerfiles.

dotnet-framework-docker, on the other hand, is comparatively simple. And in the coming months it will get even simpler, thanks to the removal of NetFX 3.5 images and consolidation of NetFX 4 images. In fact, after that consolidation it will have only 16 Dockerfiles managed by templates.

My argument is that those two repos would be better served by their own solutions which are closer in proximity to their own usage. And neither solution needs to be coupled to a full containerized build environment. Being too tightly coupled to ImageBuilder really slows down the dev loop for writing Dockerfiles.

Related:

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Post Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions