Skip to content

Instantly share code, notes, and snippets.

@derekwaynecarr
Created October 7, 2014 16:32
Show Gist options
  • Save derekwaynecarr/81a9c5f7232acb1f535f to your computer and use it in GitHub Desktop.
Save derekwaynecarr/81a9c5f7232acb1f535f to your computer and use it in GitHub Desktop.
[sudo] password for decarr:
+++ Building Docker image kube-build:build. This can take a while.
+++ Docker build command failed for kube-build:build
Sending build context to Docker daemon 3.572 MB
Sending build context to Docker daemon
Step 0 : FROM golang:cross
Pulling repository golang
---> d47120428eee
Step 1 : MAINTAINER Joe Beda <jbeda@google.com>
---> Running in 69b24428a41e
---> c779e9542fa5
Removing intermediate container 69b24428a41e
Step 2 : ENV KUBE_CROSSPLATFORMS linux/386 linux/arm darwin/amd64 darwin/386
---> Running in 08de631345c2
---> 90f0af5b02e1
Removing intermediate container 08de631345c2
Step 3 : ENV GOARM 5
---> Running in e9d13ad752a0
---> 388efb024d7d
Removing intermediate container e9d13ad752a0
Step 4 : ENV GOOS linux
---> Running in fda66a461621
---> cf861efb11b3
Removing intermediate container fda66a461621
Step 5 : ENV GOARCH amd64
---> Running in b5010f819453
---> 5cb40cffc514
Removing intermediate container b5010f819453
Step 6 : RUN go get code.google.com/p/go.tools/cmd/cover github.com/tools/godep
---> Running in 6ebbff7a14c3
package code.google.com/p/go.tools/cmd/cover: Get https://code.google.com/p/go/source/checkout?repo=tools: dial tcp: i/o timeout
# cd .; git clone https://github.com/tools/godep /go/src/github.com/tools/godep
Cloning into '/go/src/github.com/tools/godep'...
error: Couldn't resolve host 'github.com' while accessing https://github.com/tools/godep/info/refs
fatal: HTTP request failed
package github.com/tools/godep: exit status 128
2014/10/07 12:29:49 The command [/bin/sh -c go get code.google.com/p/go.tools/cmd/cover github.com/tools/godep] returned a non-zero code: 1
To retry manually, run:
docker build -t kube-build:build /home/decarr/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/images/kube-build:build
@IevgeniiB
Copy link

I have the same. Did you figure out how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment