github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/deployments/ticdc/docker/storage-consumer.Dockerfile (about)

     1  FROM golang:1.21-alpine as builder
     2  RUN apk add --no-cache make bash git
     3  WORKDIR /go/src/github.com/pingcap/tiflow
     4  COPY . .
     5  RUN --mount=type=cache,target=/go/pkg/mod go mod download
     6  RUN --mount=type=cache,target=/root/.cache/go-build make storage_consumer
     7  
     8  FROM alpine:3.15
     9  COPY --from=builder  /go/src/github.com/pingcap/tiflow/bin/cdc_storage_consumer /cdc_storage_consumer
    10  
    11  ENTRYPOINT ["tail", "-f", "/dev/null"]