-
Notifications
You must be signed in to change notification settings - Fork 568
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
dirmngr
file previously from gnupg2
in Mariner 1.0 missing from 2.0
#3142
Comments
@dagood why was |
Aha, I didn't realize this is what happened. I don't have any answers, I'm not a CBL-Mariner maintainer. I'm asking the same question. |
Ah, sorry, this seems to be my bad- I must have missed this regression when upgrading the package last November. Will take a look when I have some spare time this week. |
This issue is a bit deeper than I initially thought- |
As this is required for encrypting files as GPG will try to look up the key using WKD. This will resolve microsoft#3142 which was broken when going from CBL Mariner v1 to v2.
As this is required for encrypting files as GPG will try to look up the key using WKD. This will resolve microsoft#3142 which was broken when going from CBL Mariner v1 to v2.
It looks like this is still "missing" in |
Found this while working on:
The official community-maintained
golang
images usegpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'
as part of the build:https://github.com/docker-library/golang/blob/a212f660f30646927c1a10ecdc7b579df2d28155/1.18/bullseye/Dockerfile#L78-L81
This doesn't work in the
cblmariner.azurecr.io/base/core:2.0
image (sha256:a662db5808dae71209d3597ec622569a9707a32cb56395aed1965a378f8c92dd
) becausedirmngr
isn't available. It also isn't provided in any of the distro packages:In 1.0
cblmariner.azurecr.io/base/core:1.0
(sha256:e874e70eb3497f536128923c47bd174bc8851af665eb2ee46a9ac586be0983aa
), it works:The purpose of this
gpg
line in the Dockerfile is to trust Google's signatures to verify the binaries from https://go.dev/dl.We don't depend on this for https://github.com/microsoft/go-images because we're using our own signature and don't set it up with a keyserver. So, I think we can remove the dependency on
dirmngr
by modifying the Dockerfiles without any impact to the image we produce. However, diverging from upstream like this may make maintenance more difficult for us in the future./cc @jaredpar
The text was updated successfully, but these errors were encountered: