Skip to content

Commit

Permalink
Remove explicit architecture in go build (#224)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonah Back <jonah@jonahback.com>
  • Loading branch information
backjo authored Jan 23, 2021
1 parent 2b0cd04 commit 07513e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY api/ api/
COPY controllers/ controllers/

# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager main.go
RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -o manager 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 07513e6

Please sign in to comment.