Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

direct-to-sd doesn't build #100

Closed
josephburnett opened this issue May 29, 2019 · 0 comments · Fixed by #121
Closed

direct-to-sd doesn't build #100

josephburnett opened this issue May 29, 2019 · 0 comments · Fixed by #121
Assignees

Comments

@josephburnett
Copy link

When trying to modify and docker build the custom metrics autoscaling direct to Stackdriver example, the build fails with no buildable Go source files in /go/src/google.golang.org/api/transport/http/internal/propagation

$ docker build -t direct-to-sd .
Sending build context to Docker daemon  12.29kB
Step 1/9 : FROM golang:1.7.3
 ---> ef15416724f6
Step 2/9 : ADD . /go/src/direct-to-sd
 ---> Using cache
 ---> 425ccb5c64d0
Step 3/9 : RUN go get cloud.google.com/go/compute/metadata
 ---> Using cache
 ---> 4e85f56c9172
Step 4/9 : RUN go get golang.org/x/oauth2
 ---> Using cache
 ---> 0651c69fb6f1
Step 5/9 : RUN go get google.golang.org/api/monitoring/v3
 ---> Running in 896d9b622d40
src/google.golang.org/api/transport/http/dial.go:30:2: no buildable Go source files in /go/src/google.golang.org/api/transport/http/internal/propagation
The command '/bin/sh -c go get google.golang.org/api/monitoring/v3' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants