tellapart / aurproxy

Load balancer manager with knowledge of Apache Aurora's service discovery mechanism and integration with Aurora's task lifecycle.
Apache License 2.0
71 stars 18 forks source link

Docker build fails due to syntax incompatibility in downstream library #38

Closed derekslager closed 8 years ago

derekslager commented 8 years ago

Example session below, the version of golang in Debian Jessie doesn't understand the newer syntax. Using a newer version of golang works.

Step 6 : RUN mkdir -p $GOPATH  && go get github.com/buger/gor  && cd $GOPATH/src/github.com/buger/gor  && go build
 ---> Running in 9be8e9012659
# github.com/araddon/gou
/opt/go/src/github.com/araddon/gou/testutil.go:26: syntax error: unexpected range, expecting {
/opt/go/src/github.com/araddon/gou/testutil.go:34: non-declaration statement outside function body
/opt/go/src/github.com/araddon/gou/testutil.go:35: non-declaration statement outside function body
/opt/go/src/github.com/araddon/gou/testutil.go:36: syntax error: unexpected }
INFO[0177] The command [/bin/sh -c mkdir -p $GOPATH  && go get github.com/buger/gor  && cd $GOPATH/src/github.com/buger/gor  && go build] returned a non-zero code: 2 
derekslager commented 8 years ago

https://github.com/tellapart/aurproxy/pull/40

ThanosBaskous commented 8 years ago

Thanks! Merged.