imaginary icon indicating copy to clipboard operation
imaginary copied to clipboard

Build image from Dockerfile error after commit 00f696fe3a3211fb7d01450b9f81308e17c56ca3

Open quartoq opened this issue 2 years ago • 2 comments

Hi, after last commit (00f696fe3a3211fb7d01450b9f81308e17c56ca3 - 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

quartoq avatar Mar 09 '22 17:03 quartoq

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.

Dachande663 avatar Mar 23 '22 16:03 Dachande663

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

csware avatar Dec 06 '22 17:12 csware