github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/deployments/engine/docker/Dockerfile (about) 1 FROM golang:1.21-alpine as builder 2 3 #build 4 RUN apk add --no-cache \ 5 make \ 6 bash \ 7 gcc \ 8 git \ 9 binutils-gold \ 10 musl-dev 11 12 RUN mkdir -p /dataflow-engine 13 WORKDIR /dataflow-engine 14 15 COPY . . 16 ARG GOPROXY="https://proxy.golang.org,direct" 17 ENV GOPROXY=$GOPROXY 18 19 RUN make engine 20 21 FROM gcr.io/pingcap-public/pingcap/alpine:alpine-3.14.6 22 23 COPY --from=builder /dataflow-engine/bin/tiflow /tiflow