Skip to content

Commit 47caf67

Browse files
committed
chore: update go version and update entrypoint
1 parent 00cc73d commit 47caf67

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile.lambda

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Fetch or build all required binaries
2-
FROM golang:1.19 as builder
2+
FROM golang:1.20 as builder
33

44
ARG VERSION_REF
55
RUN test -n "${VERSION_REF}"
@@ -42,6 +42,6 @@ COPY --from=builder \
4242
/usr/local/bin/kubeapply \
4343
/usr/local/bin/
4444

45-
COPY --from=builder /usr/local/bin/kubeapply-lambda /var/task/kubeapply-lambda
45+
COPY --from=builder /usr/local/bin/kubeapply-lambda /kubeapply-lambda
4646

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

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/segmentio/kubeapply
22

3-
go 1.18
3+
go 1.20
44

55
require (
66
github.com/Masterminds/semver/v3 v3.1.1

0 commit comments

Comments
 (0)