github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/cache/app/Dockerfile (about) 1 ARG BASE 2 FROM golang:1.15 as builder 3 COPY main.go . 4 # `skaffold debug` sets SKAFFOLD_GO_GCFLAGS to disable compiler optimizations 5 ARG SKAFFOLD_GO_GCFLAGS 6 RUN go build -gcflags="${SKAFFOLD_GO_GCFLAGS}" -o /app . 7 8 FROM $BASE 9 # Define GOTRACEBACK to mark this container as using the Go language runtime 10 # for `skaffold debug` (https://skaffold.dev/docs/workflows/debug/). 11 ENV GOTRACEBACK=single 12 CMD ["./app"] 13 COPY --from=builder /app . 14 15 # intended to cause failure for test case 16 RUN