vscode-dev-containers icon indicating copy to clipboard operation
vscode-dev-containers copied to clipboard

Be able target patch versions for docker dotnet images

Open EverybodyKurts opened this issue 3 years ago • 2 comments

Relates to: Remote - Containers

I'd like to target the patch version of a dotnet release when referencing a docker image, like so:

FROM mcr.microsoft.com/vscode/devcontainers/dotnet:6.0.300

EverybodyKurts avatar Sep 02 '22 13:09 EverybodyKurts

Thanks for opening @EverybodyKurts!

@samruddhikhandale thoughts?

bamurtaugh avatar Sep 02 '22 20:09 bamurtaugh

Hi @EverybodyKurts,

We're starting to migrate contents of this repo to the devcontainers org, as part of the work on the open dev container specification.

We are now publishing images from devcontainers/images with path mcr.microsoft.com/devcontainers/*. For more details, you can review the announcement issue.

For backwards compatibility, we are dual publishing, hence images with path mcr.microsoft.com/vscode/devcontainers/* works just fine. However, it would be nice to switch to the newer image paths.

To answer your question, here's the complete list of available tags - link and you can reference the latest patch version (say for dotnet 6) as follows -

FROM mcr.microsoft.com/devcontainers/dotnet:0.203.5-6.0

Refer to the README for more details.

samruddhikhandale avatar Sep 02 '22 21:09 samruddhikhandale