Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm64 Mariner core 1.0 and 2.0 missing Variant in docker inspect results #5008

Open
dagood opened this issue Mar 7, 2023 · 1 comment
Open

Comments

@dagood
Copy link
Member

dagood commented Mar 7, 2023

My build depends on the Mariner image Variant for arm64 in a few ways, so this caused a build error for me.

It looks like Variant shows up in the manifest, but not in the image metadata:

$ docker pull --platform linux/arm64/v8 mcr.microsoft.com/cbl-mariner/base/core:1.0
..
Status: Downloaded newer image for mcr.microsoft.com/cbl-mariner/base/core:1.0
mcr.microsoft.com/cbl-mariner/base/core:1.0

$ docker manifest inspect mcr.microsoft.com/cbl-mariner/base/core:1.0
...
         "platform": {
            "architecture": "arm64",
            "os": "linux",
            "os.version": "cbl-mariner-1.0",
            "variant": "v8"
         }
...

$ docker inspect -f "{{ .Architecture }}/{{ .Variant }}" mcr.microsoft.com/cbl-mariner/base/core:1.0
arm64/

The final result should be arm64/v8. Based on build logs from Feb 15 at 9:22 AM, this is a regression:

-- EXECUTING: docker inspect -f "{{ .Architecture }}/{{ .Variant }}" cblmariner.azurecr.io/base/core:1.0
arm64/v8

(The above commands have the same results with cblmariner.azurecr.io/base/core:1.0 and mcr.microsoft.com/cbl-mariner/base/core:1.0 as far as I can tell.)

I'm going to try changing my build to stop checking that the arch/variant is correct because we've been broken by this during both of our most recent two releases. But I still figured I should report/ask about it.

/cc @microsoft/golang-compiler @mthalman

@mfrw
Copy link
Member

mfrw commented Mar 13, 2023

/cc @mandeepsplaha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants