Building a container with dockerfile doesn't work on Windows (but works fine on macOS).
// using Dagger Go SDK 0.4.0
buildOpts := dagger.ContainerBuildOpts{
Dockerfile: "dockerfiles/ubuntu_build_env.Dockerfile",
}
container := client.Container().Build(repoDir, buildOpts)
Generates this output on Windows:
input:1: container.build failed to read dockerfile: open /tmp/buildkit-mount464475346/dockerfiles\ubuntu_build_env.Dockerfile: no such file or directory
Note the lone \ (backslash) in the path.
Thanks.