Coder Social home page Coder Social logo

Comments (6)

SteveDesmond-ca avatar SteveDesmond-ca commented on July 18, 2024

Docker tags are similar to SVN tags in that there are conventions around how they should be used, but no hard rules -- a tag can be something completely arbitrary and not related to the project at all. Contrast this with git tags, which have a very specific purpose: naming a point in history of a repo. I like to think of Docker tags more like git tags, naming a point in history of a project (in this case, a release).

I've definitely seen both suggestions in the wild, for both having different tags/repos for builds with different base OS images, and having different tags/repos for different feature subsets / configurations (like we're talking about here).

My opinion as a more experienced Docker user is, if the builder and runtime images are intended for fundamentally different purposes (and I believe they are), they should live in different repos.

from dotnet-framework-docker.

richlander avatar richlander commented on July 18, 2024

Here's another good example: https://hub.docker.com/_/openjdk/. It uses the same model as the .NET Core repo.

My opinion as a more experienced Docker user is, if the builder and runtime images are intended for fundamentally different purposes (and I believe they are), they should live in different repos.

This is part of the rub. In the cases of both .NET Framework and .NET Core, the SDK/builder image contains the runtime, too, so it offers a superset of scenarios, not a disjoint set. I assume that this is the same with Java as well.

from dotnet-framework-docker.

richlander avatar richlander commented on July 18, 2024

I have been thinking more about this. If we do this, the naive approach would be to add a new build tag as a direct translation of the microsoft/dotnet-framework-builder repo. The build tag would behave much like the sdk tag we use in the microsoft/dotnet repo. But then, why wouldn't we re-use the sdk tag instead? That seems accurate and would make it easier to talk about .NET Framework and .NET Core repos.

The only downside is that the current microsoft/dotnet-framework-builder images don't contain the .NET Framework SDK (certainly not in its entirety). I'd say that any .NET Framework SDK tool that is relevant for use in Docker is fair game for being pulled in.

from dotnet-framework-docker.

SteveDesmond-ca avatar SteveDesmond-ca commented on July 18, 2024

I like what PHP has done around your last point, by providing a Docker-specific way to consistently and easily install extensions -- check out the docker-php-ext-installsection here -- this keeps the base image smaller and (a benefit in my opinion) leads to explicitly stating those types of dependencies.

from dotnet-framework-docker.

richlander avatar richlander commented on July 18, 2024

That makes sense. For our platform, we don't have the extensions in a package manager, like NuGet. So, I don't see a good path forward to enable the proposal.

from dotnet-framework-docker.

MichaelSimons avatar MichaelSimons commented on July 18, 2024

The repos were merge with #123.

from dotnet-framework-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.