Skip to content

Commit

Permalink
Remove GOARCH from Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito authored Jul 5, 2024
1 parent 592e6de commit 8788f62
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 @@ -8,7 +8,7 @@ COPY . /workspace
RUN go mod download

# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o java-truststore-injection-webhook main.go && \
RUN CGO_ENABLED=0 GOOS=linux go build -a -o java-truststore-injection-webhook main.go && \
upx -q java-truststore-injection-webhook

FROM gcr.io/distroless/static:nonroot
Expand Down

0 comments on commit 8788f62

Please sign in to comment.