github.com/pingcap/ticdc@v0.0.0-20220526033649-485a10ef2652/kafka_consumer/Dockerfile (about)

     1  FROM golang:1.13 as builder
     2  WORKDIR /go/src/github.com/pingcap/ticdc
     3  COPY . .
     4  RUN go mod download
     5  RUN make kafka_consumer
     6  
     7  FROM alpine:3.11
     8  COPY --from=builder  /go/src/github.com/pingcap/ticdc/bin/cdc_kafka_consumer /cdc_kafka_consumer
     9  CMD [ "/cdc_kafka_consumer" ]