Comments (6)
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.
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.
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.
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-install
section 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.
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.
The repos were merge with #123.
from dotnet-framework-docker.
Related Issues (20)
- Feature Request: Framework SDK Images based on Full Windows HOT 1
- unable to clone git repo, what is the solution for this. HOT 1
- Unable to install Latest Visual C++ Redistributable in Windows Containers HOT 1
- Unable to add any workloads/components
- Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding. Registered base address schemes are [http]. HOT 3
- Can no longer add Microsoft.VisualStudio.Component.SQL.SSDTBuildSku component to image HOT 4
- DOTNET_RUNNING_IN_CONTAINER not set in LTSC2019 windows docker images HOT 1
- Docker builds failed for framework/aspnet:4.8-windowsservercore-ltsc2022 HOT 1
- Revert disabling of prebuild validation
- Automate the collection of release data and update the appropriate files HOT 2
- Investigate how to migrate off of Windows Server 2016 build agents HOT 1
- "Related repositories" links broken in MAR
- msbuild suceeded for net48 and net462 solutions but no dll files generated HOT 5
- Running simple visual basic script for unzipping a zip file throws Unspecified Error HOT 1
- New-IISSiteBinding command not present in latest mcr.microsoft.com/dotnet/framework/wcf:4.8 HOT 7
- Example of logging support
- aspnet:4.8-windowsservercore-ltsc2022 won't start with port binding HOT 1
- Latest .NET 4.7.2 Images run into a tls error trying to install nuget HOT 7
- `RuntimeSdkImageTests.VerifyImagesWithWebApps` test is failing in PR validation on `sdk:4.8-windowsservercore-ltsc2016` image
- Include .NET 7 runtime in SDK images when it is GA
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnet-framework-docker.