damp-school-17708
06/24/2021, 1:54 PMnew awsx.ecs.FargateService
therefore I am building docker images via pulumi, I am on an M1 mac, which means that if I try to build and push to ECR/ECS an image it will be in the wrong architecture to run in ECS later on.
Do you know if there's a way to force buildx to build for a certain architecture? Or a way to pass the flag to pulumi?
Thanksmillions-furniture-75402
06/24/2021, 1:58 PMbuildx
instead of build
, you might be best taking docker’s advice of aliasing buildx
to build
image: awsx.ecs.Image.fromDockerBuild(`${appName}-image`, {
env: {
DOCKER_BUILDKIT: "1",
},
}),
damp-school-17708
06/24/2021, 2:01 PM--platform linux/amd64,linux/arm64,linux/ppc64le