Skip to content

Commit f10f98c

Browse files
committed
chore: add extra fix
1 parent 47caf67 commit f10f98c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile.lambda

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

44
ARG VERSION_REF
55
RUN test -n "${VERSION_REF}"
@@ -44,4 +44,4 @@ COPY --from=builder \
4444

4545
COPY --from=builder /usr/local/bin/kubeapply-lambda /kubeapply-lambda
4646

47-
ENTRYPOINT [ "/kubeapply-lambda" ]
47+
ENTRYPOINT ["/kubeapply-lambda"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ install: data
2121
# Lambda and server-related targets
2222
.PHONY: kubeapply-lambda
2323
kubeapply-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
2727
kubeapply-lambda-kubeapply: data

0 commit comments

Comments
 (0)