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

Docker Compose up error #56

Open
p000 opened this issue Mar 13, 2019 · 2 comments
Open

Docker Compose up error #56

p000 opened this issue Mar 13, 2019 · 2 comments

Comments

@p000
Copy link

p000 commented Mar 13, 2019

dcerr

Docker Compose -

docker compose up

Error

@rjswitzer3
Copy link

rjswitzer3 commented Mar 19, 2019

I have encountered/replicated the same issue.

Docker Compose version:
docker-compose version 1.23.2, build 1110ad01

docker-compose.yml:
version: '3.6'
services:
oauth-mock:
build: https://github.com/RichardKnop/go-oauth2-server.git

Command:
docker-compose up

Error:
go: extracting golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2 verifying github.com/coreos/[email protected]+incompatible: checksum mismatch downloaded: h1:pAWNwdf7QiT1zfaWyqCtNZQWCLByQyA3JrSQyuYAqnQ= go.sum: h1:5k8nkcBSvltjOO5RLflnXevOJXndlKIMbvVnMTX+cUU= ERROR: Service 'oauth-mock' failed to build: The command '/bin/sh -c go install github.com/RichardKnop/go-oauth2-server' returned a non-zero code: 1

I have tried the following modifications to the Dockerfile without luck:

  • Changed the golang version
  • Added go clean -modcache before go install ..

Any ideas?

UPDATE:

  • Deleting the go.sum file resolves the issue
  • Updating the go.sum file @line:59 github.com/coreos/etcd v3.3.12+incompatible h1:5k8nkcBSvltjOO5RLflnXevOJXndlKIMbvVnMTX+cUU= with the downloaded checksum will rectify that particular verification but one more mismatch arises @line:171 github.com/hashicorp/go-rootcerts v1.0.0 h1:ueI78wUjYExhCvMLow4icJnayNNFRgy0d9EGs/a1T44= which you will need to update as well, then the issue is resolved.

I would not qualify either of these as a solution, but rather a temporary fix.

@mbaniasad
Copy link

mbaniasad commented Sep 2, 2019

trying the above....

  1. renaming go.sum to deleted.go.sum did not work.
  2. deleting it also, didn't help
    didn't check on the checksum line by line updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants