diff --git a/Dockerfile b/Dockerfile index 0c01086..12907ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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