Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Build error #24

Open
ckt114 opened this issue Feb 15, 2019 · 1 comment
Open

Build error #24

ckt114 opened this issue Feb 15, 2019 · 1 comment

Comments

@ckt114
Copy link

ckt114 commented Feb 15, 2019

Hi,

The latest version of nomad is 0.8.7 and you haven't built it to docker hub and I'm trying to build it and get the following error. I'm using CentOS 7.6. Can you please tell me what do I need to build this image? Thanks.

-${GLIBC_VERSION}.apk &&     apk add --allow-untrusted /tmp/glibc-${GLIBC_VERSION}.apk &&     rm -rf /tmp/glibc-${GLIBC_VERSION}.apk /var/cache/apk/* &&     curl -L -o /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_amd64 &&     chmod +x /usr/local/bin/dumb-init &&     dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')" &&     curl -L -o /usr/local/bin/gosu "https://github.com/ti
anon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch" &&     curl -L -o /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc" &&     export GNUPGHOME="$(mktemp -d)" &&     gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 &&     gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu &&     rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc &&     chmod +x /us
r/local/bin/gosu &&     gosu nobody true &&     apk del .gosu-deps' returned a non-zero code: 2

I went through the process manually and it's this line that's causing the error:
gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
throws error

/ + gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
gpg: keybox '/tmp/tmp.gKinnJ/pubring.kbx' created
gpg: keyserver receive failed: No keyserver available
@jamesalbert
Copy link

try docker network prune

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants