Skip to content

Commit

Permalink
adjust dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuboxa committed Oct 21, 2024
1 parent 56c9399 commit 27bc6da
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
Expand Up @@ -14,8 +14,9 @@ COPY cmd/ cmd/
COPY api/ api/
COPY controllers/ controllers/
COPY pkg/ pkg/

# Build
ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64
ENV CGO_ENABLED=0
RUN go build -a -o conduit-operator cmd/operator/main.go

# Use distroless as minimal base image to package the manager binary
Expand Down

0 comments on commit 27bc6da

Please sign in to comment.