Yarn package building issue
-
Apparently the key for the debian yarn package repo is expired and thus all packages which use
apt updatewill fail to build with:W: GPG error: http://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx> E: The repository 'http://dl.yarnpkg.com/debian stable InRelease' is not signed.The workaround for this is mentioned at https://github.com/yarnpkg/yarn/issues/7866
Add the following to the package Dockerfile prior toapt update:RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -We have to update the base image to resolve this properly.
-
Apparently the key for the debian yarn package repo is expired and thus all packages which use
apt updatewill fail to build with:W: GPG error: http://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx> E: The repository 'http://dl.yarnpkg.com/debian stable InRelease' is not signed.The workaround for this is mentioned at https://github.com/yarnpkg/yarn/issues/7866
Add the following to the package Dockerfile prior toapt update:RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -We have to update the base image to resolve this properly.
-
Yeah, wherever I need yarn, I'm installing it via npm and often actually installing particular node versions directly as well in my packagings. IMO we're reaching a scale of seriously diminishing returns, and frequently apps now are including the versions they need in the actual source in asdf
.tool-versionsor similar files. I specifically try to automate the runtime selection/installation at build time when this information is available from the app - it increases compatibility to be more specific, if taking a hit on container bloat since it often doubles up on base image contents. -
consider running things thru docker-slim to minify the images.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
