Hey everyone 🙂
I have a scenario where I just want to build a dockerfile. I do not want to publish / or export the image built. Simply build it, and print the result to stdout.
When I try to do this, dagger spawns a container and runs the image's entrypoint. Is there a way to avoid this ?
`
import {connect} from "@dagger.io/dagger";
await connect(async (client) => {
const contextDir = await client.host().directory('.');
const webserviceImage = await contextDir.dockerBuild({dockerfile: "testproj/Dockerfile"}).stdout();
}, {LogOutput: process.stdout})
`