imaginary
imaginary copied to clipboard
Build image from Dockerfile error
Just building from the latest imaginary repo, and get:
.
.
.
--- PASS: TestImageType (0.00s)
=== RUN TestGetImageMimeType
--- PASS: TestGetImageMimeType (0.00s)
FAIL
coverage: 47.1% of statements
FAIL github.com/h2non/imaginary 1.227s
FAIL
The command '/bin/sh -c go test ./... -test.v -race -test.coverprofile=atomic .' returned a non-zero code: 1
Same issue here running with cloud run right from the repo.
See #128
Also trying to deploy via cloud run and getting this error:
[ ✖ ] Failed to build container image.
Error: attempted to build and failed: docker build failed: exit status 1, output:
Dockerfile:53
--------------------
51 |
52 | # Run quality control
53 | >>> RUN go test ./... -test.v -race -test.coverprofile=atomic .
54 | RUN golangci-lint run .
55 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c go test ./... -test.v -race -test.coverprofile=atomic ." did not complete successfully: exit code: 1
I'll have a look to investigate the possibility of fixing this.