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

build failed #9

Open
Whishay opened this issue Apr 2, 2019 · 4 comments
Open

build failed #9

Whishay opened this issue Apr 2, 2019 · 4 comments

Comments

@Whishay
Copy link

Whishay commented Apr 2, 2019

Hi,
I got an issue with build on both centos 7.6 and fedora 27, any problem with my set up?

./build make
Building image: rdma/sriov-plugin:x86_64
Sending build context to Docker daemon 215 kB
Step 1/13 : FROM golang:1.10.1 as build
Error parsing reference: "golang:1.10.1 as build" is not a valid repository/tag: invalid reference format

@paravmellanox
Copy link
Collaborator

It should work, if the system that you are working on has access to docker hub.

A sample output looks like below.

./build
Building image: rdma/sriov-plugin:x86_64
Sending build context to Docker daemon 213.5kB
Step 1/13 : FROM golang:1.10.1 as build
1.10.1: Pulling from library/golang

@Whishay
Copy link
Author

Whishay commented Apr 3, 2019

I am not sure if it is go version so I replaced my go1.11.3 with 1.10.1 but it fails still.
it seems fine with my docker cos I have pulled a few images successfully.

Anyone got the same problem as well?

#docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/golang latest 213fe73a3852 7 days ago 774 MB
docker.io/rdma/sriov-plugin latest 54e32a483991 9 months ago 63.4 MB
docker.io/rdma/sriov-plugin x86_64 54e32a483991 9 months ago 63.4 MB

#./build make
Building image: rdma/sriov-plugin:x86_64
Sending build context to Docker daemon 213.5 kB
Step 1/13 : FROM golang:1.10.1 as build
Error parsing reference: "golang:1.10.1 as build" is not a valid repository/tag: invalid reference format

#go version
go version go1.10.1 linux/amd64

@paravmellanox
Copy link
Collaborator

@Whishay

Can you make sure that docker images output look like this in your system.
docker images | grep golang
golang 1.10.1 1af690c44028 11 months ago 780MB

@Whishay
Copy link
Author

Whishay commented Apr 3, 2019

Thanks. Still, it does not work after I downgraded the image to 1.10.1.

#go version
go version go1.10.1 linux/amd64
#docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/rdma/sriov-plugin latest 54e32a483991 9 months ago 63.4 MB
docker.io/rdma/sriov-plugin x86_64 54e32a483991 9 months ago 63.4 MB
docker.io/golang 1.10.1 1af690c44028 11 months ago 780 MB
#./build make
Building image: rdma/sriov-plugin:x86_64
Sending build context to Docker daemon 213.5 kB
Step 1/13 : FROM golang:1.10.1 as build
Error parsing reference: "golang:1.10.1 as build" is not a valid repository/tag: invalid reference format

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

2 participants