Skip to content

Commit

Permalink
Docker File: Bump golang, and missing packages
Browse files Browse the repository at this point in the history
Signed-off-by: nb-ohad <[email protected]>
  • Loading branch information
nb-ohad committed Jul 21, 2024
1 parent 902f360 commit 18d6ce5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.21 AS builder
FROM golang:1.22 AS builder
ARG TARGETOS
ARG TARGETARCH

Expand All @@ -15,6 +15,7 @@ RUN go mod download
COPY cmd/main.go cmd/main.go
COPY api/ api/
COPY internal/controller/ internal/controller/
COPY internal/utils/ internal/utils/

# Build
# the GOARCH has not a default value to allow the binary be built according to the host where the command
Expand Down

0 comments on commit 18d6ce5

Please sign in to comment.