Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

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

Closed
derekslager opened this issue Jul 15, 2016 · 2 comments
Closed

Comments

@derekslager
Copy link
Contributor

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
Copy link
Contributor Author

#40

ThanosBaskous added a commit that referenced this issue Jul 15, 2016
Dockerfile fixes for issues #38 and #39
@ThanosBaskous
Copy link
Contributor

Thanks! Merged.

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