File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# Fetch or build all required binaries
2- FROM golang:1.20 as builder
2+ FROM --platform=linux/amd64 golang:1.20 as builder
33
44ARG VERSION_REF
55RUN test -n "${VERSION_REF}"
@@ -44,4 +44,4 @@ COPY --from=builder \
4444
4545COPY --from=builder /usr/local/bin/kubeapply-lambda /kubeapply-lambda
4646
47- ENTRYPOINT [ "/kubeapply-lambda" ]
47+ ENTRYPOINT ["/kubeapply-lambda"]
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ install: data
2121# Lambda and server-related targets
2222.PHONY : kubeapply-lambda
2323kubeapply-lambda : data
24- GOOS=linux GOARCH=amd64 go build -tags lambda.norpc -o build/kubeapply-lambda $(LDFLAGS ) ./cmd/kubeapply-lambda
24+ GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -tags lambda.norpc -o build/kubeapply-lambda $(LDFLAGS ) ./cmd/kubeapply-lambda
2525
2626.PHONY : kubeapply-lambda-kubeapply
2727kubeapply-lambda-kubeapply : data
You can’t perform that action at this time.
0 commit comments