Hi there,
I'm working on a build CI pipeline that takes customer Dockerfiles and publishes them. The issue lies in the fact DockerBuild() not only converts the Dockerfile to an "image", but rather produces a container of it. That invokes, of course, the entrypoint and command lines.
It's very plausible customers will have entrypoints and commands set up to only succeed when they are run from the deployed k8s environment, for example. We can ignore these failures, but then I don't know if we have any good way of knowing whether or not the image was constructed successfully prior to publishing.
Is there no way to simply construct the image via Dagger vs creating a container of it? Is there any thought put into this use case?