brainy-furniture-43093
08/05/2022, 4:23 PMGOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-s -w" -tags lambda.norpc -o build/bootstrap
And then I zip it using Pulumi's NewAssetArchive
Code: pulumi.NewAssetArchive(map[string]interface{}{
"bootstrap": pulumi.NewFileAsset("../onboarding/cmd/onboarding/build/bootstrap"),
"Makefile": pulumi.NewFileAsset("../onboarding/cmd/onboarding/build/Makefile"),
}),
And my Makefile contains
build-Onboarding:
cp ./bootstrap $(ARTIFACTS_DIR)/.
But for some reason it's like my Makefile doesn't execute then the bootstrap file stays in some root folder.
Any ideas here? Thank youpackage
line at the top of the file said something besides main. Even though my go.mod can have a different package line as main in order to make my internal dependencies work.