imaginary
imaginary copied to clipboard
Build image from Dockerfile error after commit 00f696fe3a3211fb7d01450b9f81308e17c56ca3
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
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.
I think this issue can be closed, building the docker container works again after 1779f2a118de1727b8229ba1e620fa87f5d7c874 got merged with PR #404.