Skip to content

Commit

Permalink
Update cmd/training-operator.v2alpha1/Dockerfile
Browse files Browse the repository at this point in the history
Co-authored-by: Yuki Iwai <[email protected]>
  • Loading branch information
andreyvelich and tenzen-y authored Aug 15, 2024
1 parent 73ccbb3 commit 785d51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/training-operator.v2alpha1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.22 as builder

WORKDIR /workspace
# Build
RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -o manager cmd/training-operator.v2alpha1/main.go
RUN --mount=type=bind,target=. CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -o manager cmd/training-operator.v2alpha1/main.go

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
Expand Down

0 comments on commit 785d51a

Please sign in to comment.