Reproduction
Run the command
wave -f Dockerfile --freeze
with any valid Dockerfile.
The current output is
Wave invalid response: [400] {"message":"Attribute `buildRepository` must be specified when using freeze mode [1]"}
Explanation
The error message does not explain the source of the issue (especially since --freeze works without --build-repository in some use cases).
Proposed solution
Change the error message to the following:
Attribute `buildRepository` must be specified when using freeze mode with a Dockerfile. Only Conda and pip packages can be frozen to Seqera Containers.
or OWTTE.