Does Docker execute the entrypoint when a container is used in a multistage build?

Viewed 2217

If define a multistage Dockerfile like so:

FROM exampleabc:latest
COPY app.go .


FROM alpine:latest  
RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=0 /go/src/github.com/alexellis/href-counter/app .
CMD ["./app"]

Would the exampleabc:latest have it's entrypoint executed?

1 Answers
Related