dotnet / dotnet-docker

Docker images for .NET and the .NET Tools.
https://hub.docker.com/_/microsoft-dotnet
MIT License
4.47k stars 1.94k forks source link

Image not updated to latest version for tag aspnet:7.0-cbl-mariner2.0-distroless #4780

Closed sebader closed 1 year ago

sebader commented 1 year ago

Describe the Bug

I just noticed that the image

mcr.microsoft.com/dotnet/aspnet:7.0-cbl-mariner2.0-distroless

is still equivalent to

mcr.microsoft.com/dotnet/aspnet:7.0.5-cbl-mariner2.0-distroless

and not to the latest version 7.0.9. I believe this is a bug?!

Steps to Reproduce

docker inspect mcr.microsoft.com/dotnet/aspnet:7.0.9-cbl-mariner2.0-distroless
=> sha256:9b43f11eae6a0c2906519bf8ed61973e34057170b0388dce2f52b242f10ac1e6

docker inspect mcr.microsoft.com/dotnet/aspnet:7.0.5-cbl-mariner2.0-distroless
=> sha256:0651e77910b8ff1e06fca00229863382a20c1591f478b7b219f9fd525e5646f0

docker inspect mcr.microsoft.com/dotnet/aspnet:7.0-cbl-mariner2.0-distroless
=> sha256:9b43f11eae6a0c2906519bf8ed61973e34057170b0388dce2f52b242f10ac1e6

Other Information

Output of docker version

Client: Docker Engine - Community Cloud integration: v1.0.35 Version: 24.0.2 API version: 1.43 Go version: go1.20.4 Git commit: cb74dfc Built: Thu May 25 21:52:17 2023 OS/Arch: linux/amd64 Context: default

Server: Docker Desktop Engine: Version: 24.0.2 API version: 1.43 (minimum version 1.12) Go version: go1.20.4 Git commit: 659604f Built: Thu May 25 21:52:17 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.21 GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8 runc: Version: 1.1.7 GitCommit: v1.1.7-0-g860f061 docker-init: Version: 0.19.0 GitCommit: de40ad0

Output of docker info

dotnet-issue-labeler[bot] commented 1 year ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

lbussell commented 1 year ago

Hi, can you run docker pull mcr.microsoft.com/dotnet/aspnet:7.0-cbl-mariner2.0-distroless and try again? This is what I get after pulling all 3 images on my dev machine:

PS> docker images --no-trunc --filter=reference='mcr.microsoft.com/dotnet/aspnet:7.0*-cbl-mariner2.0-distroless'

REPOSITORY                        TAG                               IMAGE ID                                                                  CREATED       SIZE
mcr.microsoft.com/dotnet/aspnet   7.0-cbl-mariner2.0-distroless     sha256:0651e77910b8ff1e06fca00229863382a20c1591f478b7b219f9fd525e5646f0   8 days ago    121MB
mcr.microsoft.com/dotnet/aspnet   7.0.9-cbl-mariner2.0-distroless   sha256:0651e77910b8ff1e06fca00229863382a20c1591f478b7b219f9fd525e5646f0   8 days ago    121MB
mcr.microsoft.com/dotnet/aspnet   7.0.5-cbl-mariner2.0-distroless   sha256:9b43f11eae6a0c2906519bf8ed61973e34057170b0388dce2f52b242f10ac1e6   7 weeks ago   121MB
sebader commented 1 year ago

ah strange, yes, now it's indeed updated. No idea where stuff still got cached. thanks anyway!