Skip to content

Commit

Permalink
build(docker): no need to specify GOOS or GOARCH
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed Apr 17, 2024
1 parent b914834 commit 8b70046
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 @@ -10,7 +10,7 @@ RUN go mod download

COPY . .

RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -mod=readonly -a -o cert-manager-webhook-katapult .
RUN CGO_ENABLED=0 go build -mod=readonly -a -o cert-manager-webhook-katapult .

FROM scratch
WORKDIR /
Expand Down

0 comments on commit 8b70046

Please sign in to comment.