Skip to content

Commit

Permalink
quick fix in master. We want to use local pkg but before we need to c…
Browse files Browse the repository at this point in the history
…opy them
  • Loading branch information
santinoncs committed Nov 8, 2022
1 parent d93d162 commit 99b5338
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.14 as builder
FROM golang:1.18 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand All @@ -13,6 +13,7 @@ RUN go mod download
COPY main.go main.go
COPY api/ api/
COPY controllers/ controllers/
COPY pkg/ pkg/

# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager main.go
Expand Down

0 comments on commit 99b5338

Please sign in to comment.