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 image from Dockerfile error after commit 00f696fe3a3211fb7d01450b9f81308e17c56ca3 #387

Open
quartoq opened this issue Mar 9, 2022 · 2 comments

Comments

@quartoq
Copy link

quartoq commented Mar 9, 2022

Hi, after last commit (00f696f - allow speed from get), can not build image from Dockerfile:

 github.com/h2non/imaginary` [github.com/h2non/imaginary.test]
./options.go:148: unknown field 'Speed' in struct literal of type bimg.Options
FAIL    github.com/h2non/imaginary [build failed]
FAIL
Error response from daemon: The command '/bin/sh -c go test ./... -test.v -race -test.coverprofile=atomic .' returned a non-zero code: 2
Failed to deploy '<unknown> Dockerfile: imaginary-master/Dockerfile': Can't retrieve image ID from build stream
@Dachande663
Copy link

Dachande663 commented Mar 23, 2022

Looks like the go.mod (and corresponding go.sum) files haven't been updated to h2non/bimg v1.1.7 which added the Speed field. Changing go.mod to 1.1.7 and running go mod tidy enables building.

@csware
Copy link

csware commented Dec 6, 2022

I think this issue can be closed, building the docker container works again after 1779f2a got merged with PR #404.

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