github.com/midokura/kubeedge@v1.2.0-mido.0/build/admission/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/admission -ldflags="-w -s" \ 6 github.com/kubeedge/kubeedge/cloud/cmd/admission 7 8 9 FROM alpine:3.9 10 11 COPY --from=builder /usr/local/bin/admission /usr/local/bin/admission 12 13 ENTRYPOINT ["admission"]