BuoyantIO / slow_cooker

A load tester focused on lifecycle issues and long-running tests
Apache License 2.0
327 stars 26 forks source link

Docker build failes #35

Closed bateau84 closed 7 years ago

bateau84 commented 7 years ago

Hey!

seems docker build doesnt work. Get the following error:

Step 5 : RUN go build -o /go/bin/slow_cooker /go/src/slow_cooker/main.go ---> Running in ffcdca4af5a4 main.go:25:2: cannot find package "github.com/buoyantio/slow_cooker/hdrreport" in any of: /go/src/slow_cooker/vendor/github.com/buoyantio/slow_cooker/hdrreport (vendor tree) /usr/local/go/src/github.com/buoyantio/slow_cooker/hdrreport (from $GOROOT) /go/src/github.com/buoyantio/slow_cooker/hdrreport (from $GOPATH) main.go:26:2: cannot find package "github.com/buoyantio/slow_cooker/ring" in any of: /go/src/slow_cooker/vendor/github.com/buoyantio/slow_cooker/ring (vendor tree) /usr/local/go/src/github.com/buoyantio/slow_cooker/ring (from $GOROOT) /go/src/github.com/buoyantio/slow_cooker/ring (from $GOPATH) main.go:27:2: cannot find package "github.com/buoyantio/slow_cooker/window" in any of: /go/src/slow_cooker/vendor/github.com/buoyantio/slow_cooker/window (vendor tree) /usr/local/go/src/github.com/buoyantio/slow_cooker/window (from $GOROOT) /go/src/github.com/buoyantio/slow_cooker/window (from $GOPATH) The command '/bin/sh -c go build -o /go/bin/slow_cooker /go/src/slow_cooker/main.go' returned a non-zero code: 1

My setup: `docker version Client: Version: 1.12.3 API version: 1.24 Go version: go1.7.3 Git commit: 6b644ec Built: Thu Oct 27 19:42:59 2016 OS/Arch: linux/amd64

Server: Version: 1.12.3 API version: 1.24 Go version: go1.7.3 Git commit: 6b644ec Built: Thu Oct 27 19:42:59 2016 OS/Arch: linux/amd64`

stevej commented 7 years ago

I see what's happened, when I moved to a new packaging location I forgot to update the Dockerfile. I just opened a PR to address this. Thanks for the bug report.

stevej commented 7 years ago

@bateau84 ok, this is in master. can you let me know if it's still broken for you?

bateau84 commented 7 years ago

Yeah, this works now. sorry for the late reply. Thanks for your help!