github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/deployments/ticdc/docker/Dockerfile (about) 1 FROM golang:1.21-alpine as builder 2 RUN apk add --no-cache git make bash 3 WORKDIR /go/src/github.com/pingcap/tiflow 4 COPY . . 5 ENV CDC_ENABLE_VENDOR=0 6 RUN make cdc 7 8 FROM alpine:3.15 9 RUN apk add --no-cache tzdata bash curl socat 10 COPY --from=builder /go/src/github.com/pingcap/tiflow/bin/cdc /cdc 11 EXPOSE 8300 12 CMD [ "/cdc" ]