Closed as not planned
Closed as not planned
Description
Is your feature request related to a problem? Please describe
When image builds fail now, we return a generic message and error code, such as headless task failed: exit status 1
Describe the behaviour you'd like
When a docker build fails, after we've started interpretting the Dockerfile, return the actual error to the user (like a base image that doesn't exist), rather than headless task failed with an error code.
When a docker build fails, before we've started interpretting the Dockerfile, continue to return a generic message and error code.
When a failure happen, especially for user failures, log the error they would have seen (so we can more concretely know what failed).
Additional context
#14919
https://github.com/gitpod-io/gitpod/issues?q=is%3Aissue+is%3Aopen+image+build+error+message