Hello, I am deploying (pulumi up) from new m1 macb...
# general
g
Hello, I am deploying (pulumi up) from new m1 macbook using
awsx.ecs.Image.fromDockerBuild
and when the image gets running on AWS it throws
standard_init_linux.go:219: exec user process caused: exec format error
. So I found this article where using dockers buildx resolves the issue. My question is, how can I use buildx with pulumi? (Even better exactly within
awsx.ecs.Image.fromDockerBuild
) I saw only mention for a new Pulumi blog article exactly about that, but it hasn’t come up yet. Thank you for your time!
🆙 1
🙏 1
p
I was trying the same (mainly for caching purpose) and didn't find a Pulumi way. I ended up with running
docker buildx install
before
pulumi up.
In my case this was via a setup-buildx-action in GitHub Actions workflow.