#Using Multistage builds?

1 messages · Page 1 of 1 (latest)

midnight ingot
#

Does anyone have a good example of using the Dagger SDK to perform a multistage docker build (e.g. installing dependencies and copying them into a final container)?

true shell
midnight ingot
#

Oh sorry, I thought I selected the option for the Go SDK

true shell
midnight ingot
#

Beautiful! Thank you @true shell. One last question, is it possible to use a remote buildkit address? I know I can define the environment variable BUILDKIT_HOST but not sure if the Dagger SDK would pick up on that?

true shell
#

@midnight ingot I'm going to ask the team. I'll also hit you up with a friend request. Would love to demo something in this area to you when timing is right 🙂

@modern creek @haughty gazelle Do you have the latest here? I see an issue saying we want to document more on connecting to a remote Dagger Engine, though it's experimental.

haughty gazelle