Images: Build Go gRPC Greeter Server from scratch. (#13409)

Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
This commit is contained in:
k8s-infra-cherrypick-robot 2025-05-26 03:36:16 -07:00 committed by GitHub
parent a58e0c4439
commit 30fa828aea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ WORKDIR /go/src/greeter-server
COPY . .
RUN go build -o /greeter-server
FROM gcr.io/distroless/base-debian10
FROM scratch
COPY --from=build /greeter-server /