question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker naming scheme

See original GitHub issue

As discussed in https://github.com/GitTools/GitVersion/pull/1571#discussion_r249751741, it would be beneficial for us if GitTools didn’t have 4 different repositories for GitVersion:

I believe having these four options publicly available makes it unnecessary hard to choose which Docker image to use and the naming standard of the tags in each repository is also a bit hard to understand.

I think it would be beneficial to us and our users if we ended up with just one Docker image and associated repository, simply called gitversion and that the tag naming scheme of this repository followed that of NGINX, which would give us the tag format {version}-{platform}-{framework}. For example:

  • 4.0.0-centos
  • 4.0.1-beta2-debian-fx
  • 4.0.0-beta15-windows-dotnetcore
  • latest-ubuntu
  • latest-windows
  • stable-ubuntu
  • stable-windows

I have a whole heap of unanswered questions related to this:

  • Is this at all possible?
  • Can we obsolete repositories so they aren’t listed, but still have their contained images be usable for those who are using them?
  • Can we clean up the visible tags of a repository without making the images for those tags unavailable?
  • Will the proposed naming scheme support all the different variations we want and need?
  • Are there anything I haven’t thought of?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
asbjornucommented, Jan 23, 2019

Ok, I agree. {version}-{os}-{distro}-{targetframework} it is, then.

1reaction
asbjornucommented, Jan 23, 2019

I think we should also include the framework version, so that we can support dotnet core 2.1 and 2.2 as well as for the full framework 4.7.2

Can’t we use the same framework notation as the one used in MSBuild’s <TargetFramework>? Such as:

  • netcoreapp2.1
  • netcoreapp2.2
  • net472
Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the naming conventions of Docker tag?
A naming convention would be something that specifies where in the tag characters like '-' or '.' should be used, if there are...
Read more >
docker - How to name Dockerfiles
The default filename is Dockerfile (without an extension), and using the default can make various tasks easier while working with containers.
Read more >
Episode 12. Naming and Tagging Docker Images and ...
Official images in Docker Hub have names assigned by default eg. node, node: latest, node:14. It is a good practice to assign names...
Read more >
3 Tips for Naming Docker Containers
When you create a Docker container, it is assigned a universally unique identifier (UUID). These are essential to avoid naming conflicts and ...
Read more >
Naming .NET Core Docker Images - Marc Roussy
Ultimately, you can use whatever scheme you want to name and tag your images. Every project is unique and will have its own...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found