Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Update Dockerfile to build with go1.21 #150

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-bullseye as build
FROM golang:1.21-bullseye as build

WORKDIR /go/src/motion

Expand All @@ -12,4 +12,4 @@ RUN CGO_ENABLED=0 go build -o /go/bin/motion ./cmd/motion
FROM gcr.io/distroless/static-debian12
COPY --from=build /go/bin/motion /usr/bin/

ENTRYPOINT ["/usr/bin/motion"]
ENTRYPOINT ["/usr/bin/motion"]