RichardKnop / go-oauth2-server

A standalone, specification-compliant, OAuth2 server written in Golang.
Mozilla Public License 2.0
2.12k stars 315 forks source link

docker compose up error #64

Open edwinyoyada opened 5 years ago

edwinyoyada commented 5 years ago

I can't run docker-compose up since it's returning this error

Step 12/14 : RUN go install github.com/RichardKnop/go-oauth2-server
 ---> Running in 61490ad04ee6
go: downloading github.com/urfave/cli v0.0.0-20180106191048-75104e932ac2
go: downloading github.com/jinzhu/gorm v1.9.2
go: downloading gopkg.in/tylerb/graceful.v1 v1.2.15
go: downloading github.com/RichardKnop/go-fixtures v0.0.0-20181101035649-15577dcaa372
go: downloading github.com/gorilla/mux v1.7.0
go: downloading github.com/phyber/negroni-gzip v0.0.0-20180113114010-ef6356a5d029
go: downloading github.com/RichardKnop/uuid v0.0.0-20160216163710-c55201b03606
go: downloading github.com/gorilla/context v1.1.1
go: downloading github.com/coreos/etcd v3.3.12+incompatible
go: extracting gopkg.in/tylerb/graceful.v1 v1.2.15
go: extracting github.com/RichardKnop/uuid v0.0.0-20160216163710-c55201b03606
go: extracting github.com/gorilla/context v1.1.1
go: downloading github.com/RichardKnop/logging v0.0.0-20181101035820-b1d5d44c82d6
go: extracting github.com/gorilla/mux v1.7.0
go: extracting github.com/phyber/negroni-gzip v0.0.0-20180113114010-ef6356a5d029
go: downloading github.com/oxtoacart/bpool v0.0.0-20150712133111-4e1c5567d7c2
go: extracting github.com/jinzhu/gorm v1.9.2
go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd
go: extracting github.com/RichardKnop/go-fixtures v0.0.0-20181101035649-15577dcaa372
go: extracting github.com/urfave/cli v0.0.0-20180106191048-75104e932ac2
go: downloading github.com/lib/pq v1.0.0
go: downloading github.com/hashicorp/consul v1.4.2
go: downloading golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2
go: extracting github.com/RichardKnop/logging v0.0.0-20181101035820-b1d5d44c82d6
go: downloading github.com/unrolled/secure v1.0.0
go: extracting github.com/oxtoacart/bpool v0.0.0-20150712133111-4e1c5567d7c2
go: downloading github.com/urfave/negroni v1.0.0
go: downloading github.com/jinzhu/inflection v0.0.0-20180308033659-04140366298a
go: extracting github.com/lib/pq v1.0.0
go: downloading github.com/gorilla/sessions v1.1.3
go: extracting golang.org/x/net v0.0.0-20190213061140-3a22650c66bd
verifying github.com/coreos/etcd@v3.3.12+incompatible: checksum mismatch
        downloaded: h1:pAWNwdf7QiT1zfaWyqCtNZQWCLByQyA3JrSQyuYAqnQ=
        go.sum:     h1:5k8nkcBSvltjOO5RLflnXevOJXndlKIMbvVnMTX+cUU=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

please help. thanks

auggod commented 5 years ago

I fixed this by removing go.sum and running go get again.

edwinyoyada commented 4 years ago

I fixed this by removing go.sum and running go get again.

thanks.. i fixed it as well.. do you happen to know if he has a documentation @auggod ?