aspnet / aspnet-docker

[Archived] ASP.NET Core Docker images for 1.x. Go to https://github.com/dotnet/dotnet-docker for 2.1 and up.
https://asp.net
719 stars 171 forks source link

Verify NodeJS download with hard-coded checksum instead of GPG keys #342

Closed natemcmaster closed 6 years ago

natemcmaster commented 6 years ago

The GPG servers have been flaky for weeks now. About 1 in 3 builds fails while trying to fetch the GPG keys. We've tried different servers, changing the order of servers, and more, but still having issues.

Instead of using GPG, this change hard-codes the expected file checksum for nodejs.tar.gz into our dockerfiles so we don't need GPG to verify the tarball.