Hello there, happy new year! π₯³
I am on a Macbook having an Apple Silicon chip (arm64).
I would like to build a docker image for linux/amd64 but it doesn't seem to work if I specify FROM --platform=linux/amd64 in my Dockerfile. Also the Dagger Go SDK doesn't seem to allow me to specify the target platform in Go.
My code:
// build docker image
buildOpts := dagger.ContainerBuildOpts{
Dockerfile: "./Dockerfile",
}
myContainer := client.Container().Build(src, buildOpts)
Thanks. π