#Replacing the Dockerfile in Go SDK?
1 messages · Page 1 of 1 (latest)
Hello,
Not at the moment. We plan on doing this eventually. At the moment there are limitations to what you can do from a buildkit frontend, that make it difficult. But we are hopeful that these will be fixed upstream in the future.
Note that the other way around works great too: dagger has native support for dockerfiles. And in the future will have the same for docker compose
Here’s an example of building a dockerfile using the Go SDK: https://pkg.go.dev/dagger.io/dagger#example-Container.Build