github.com/midokura/kubeedge@v1.2.0-mido.0/build/csidriver/Dockerfile (about) 1 FROM golang:1.12-alpine3.10 AS builder 2 3 COPY . /go/src/github.com/kubeedge/kubeedge 4 5 RUN CGO_ENABLED=0 go build -v -o /usr/local/bin/csidriver -ldflags="-w -s" \ 6 github.com/kubeedge/kubeedge/cloud/cmd/csidriver 7 8 FROM alpine:3.9 9 10 COPY --from=builder /usr/local/bin/csidriver /usr/local/bin/csidriver 11 12 ENTRYPOINT ["csidriver"]