github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/kaniko-target/Dockerfile (about)

     1  FROM golang:1.15-alpine as builder
     2  COPY main.go .
     3  RUN go build -o /app main.go
     4  
     5  FROM alpine:3 as runner
     6  CMD ["./app"]
     7  COPY --from=builder /app .
     8  
     9  FROM alpine:3
    10  # Make sure the default target is not built
    11  RUN false