wave
wave copied to clipboard
Invalid error when pulling a failing build
When pulling a container for which the build reports an error, the docker pull message should report the build error message.
Instead the generic error message shown below is displayed. For example, consider the following Dockerfile
FROM alpine
RUX echo Hello
then
» wave -f Dockerfile
wave.seqera.io/wt/f818a5c57427/wave/build:41ca856abe43de2e
» docker pull wave.seqera.io/wt/f818a5c57427/wave/build:41ca856abe43de2e
What's next:
View a summary of image vulnerabilities and recommendations → docker scout quickview wave.seqera.io/wt/f818a5c57427/wave/build:41ca856abe43de2e
Error response from daemon: failed to resolve reference "wave.seqera.io/wt/f818a5c57427/wave/build:41ca856abe43de2e": unexpected status from HEAD request to https://wave.seqera.io/v2/wt/f818a5c57427/wave/build/manifests/41ca856abe43de2e: 400 Bad Request
Instead this message should be reported
#1 [internal] load build definition from Containerfile
#1 transferring dockerfile: 69B 0.0s done
#1 DONE 0.1s
Containerfile:2
--------------------
1 | FROM alpine
2 | >>> RUX echo Hello
3 |
--------------------
error: failed to solve: dockerfile parse error on line 2: unknown instruction: RUX (did you mean RUN?)