From d9d6741ef6193fff6b4bc05849e82c4e556e99fc Mon Sep 17 00:00:00 2001 From: GoRuGoo Date: Sun, 17 Dec 2023 19:27:20 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20ARM=E3=81=A7=E3=82=82build=E3=81=8C?= =?UTF-8?q?=E9=81=A9=E5=88=87=E3=81=AB=E8=B5=B0=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/candle-backend-stack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/candle-backend-stack.ts b/lib/candle-backend-stack.ts index 4ee13d5..679c4bf 100644 --- a/lib/candle-backend-stack.ts +++ b/lib/candle-backend-stack.ts @@ -46,7 +46,7 @@ export class CandleBackendStack extends cdk.Stack { 'bash', '-c', [ "export GOCACHE=/tmp/go-cache", "export GOPATH=/tmp/go-path", - "CGO_ENABLED=0 GOOS=linux go build -tags lambda.norpc -o /asset-output/bootstrap main.go", + "GOARCH=amd64 CGO_ENABLED=0 GOOS=linux go build -tags lambda.norpc -o /asset-output/bootstrap main.go", ].join(" && "), ], },