Images: Build Go gRPC Greeter Server from scratch. (#13409)
Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
This commit is contained in:
parent
a58e0c4439
commit
30fa828aea
1 changed files with 1 additions and 1 deletions
|
|
@ -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 /
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue