-
Notifications
You must be signed in to change notification settings - Fork 72
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
Update old yarn gpg key #10
Comments
Another FYI: I use |
Hmm, checked the version support. Seem nodev8 is out of support so that image will not longer be updated automatically. Close this issue. Sorry for disturbing |
You'll have to get whoever maintains the Docker image to update the GPG key. |
I'm also seeing this on nikolaik/python-nodejs:python3.7-nodejs12. I'm not sure how the build process operates for these to know if the same root cause exists for both these versions. |
Oops, I don't test it on new distribution. I think with the current build 2 times per day, the gpg key should be updated. Let re open it then. |
I think I posted this issue of the maintainer's repo 🤔 |
Oops, sorry, I thought you posted this in the Yarn repo. Sorry! 😅 |
For those who want to follow any updates you can find it here: |
Are you still seeing this after the images have been rebuilt and using |
We use this image in a build process, and I had worked around this by adding I believe the issue is now resolved. |
Closing based on Mark's comment, thank you! 🤗 |
Since apt-key was deprecated, this works for me: ENV YARNKEY=yarn-keyring.gpg
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmour -o /usr/share/keyrings/$YARNKEY && \
echo "deb [signed-by=/usr/share/keyrings/$YARNKEY] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update Source: https://tickets.dominodatalab.com/hc/en-us/articles/12830637385364-Yarn-Package-invalid-key |
Currently, when I build my image based on this image, it will generate this error
It seems the prebuilt image of this dcoker-python-nodejs contains the old gpg key. Could you please update those images with new GPG key?
Thanks
FYI: yarnpkg/yarn#7866
The text was updated successfully, but these errors were encountered: