AlexsLemonade / refinebio

Refine.bio harmonizes petabytes of publicly available biological data into ready-to-use datasets for cancer researchers and AI/ML scientists.
https://www.refine.bio/
Other
126 stars 19 forks source link

Downloaders image won't build due to a GPG error #3413

Closed arkid15r closed 8 months ago

arkid15r commented 8 months ago

Problem or idea

The problem with "Can't check signature: No public key":

#16 [ 8/14] RUN <<EOF (gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB...)
#16 0.083 gpg: directory '/root/.gnupg' created
#16 0.083 gpg: keybox '/root/.gnupg/pubring.kbx' created
#16 0.286 gpg: keyserver receive failed: Cannot assign requested address
#16 0.539 Downloading https://github.com/rvm/rvm/archive/1.29.12.tar.gz
#16 0.780 Downloading https://github.com/rvm/rvm/releases/download/1.29.12/1.29.12.tar.gz.asc
#16 0.889 gpg: Signature made Fri Jan 15 18:46:22 2021 UTC
#16 0.889 gpg:                using RSA key 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
#16 0.889 gpg: Can't check signature: No public key
#16 0.890 GPG signature verification failed for '/home/user/rvm/archives/rvm-1.29.12.tgz' - 'https://github.com/rvm/rvm/releases/download/1.29.12/1.29.12.tar.gz.asc'! Try to install GPG v2 and then fetch the public key:
#16 0.890 
#16 0.890     gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
#16 0.890 
#16 0.890 or if it fails:
#16 0.890 
#16 0.890     command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
#16 0.890     command curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
#16 0.890 
#16 0.890 In case of further problems with validation please refer to https://rvm.io/rvm/security
#16 0.890 
#16 ERROR: process "/bin/bash -o pipefail -c gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB\ncurl -sSL https://get.rvm.io/ | bash -s -- stable --gems=aspera-cli --path /home/user/rvm --ruby\n" did not complete successfully: exit code: 2

Solution or next step

Make sure the keys are getting imported.

arkid15r commented 8 months ago

Resolved in https://github.com/AlexsLemonade/refinebio/pull/3414