github.com/keikoproj/manny@v0.0.0-20210726112440-8571e4c99ced/Dockerfile (about) 1 # Build Stage 2 FROM golang:1.13-alpine AS builder 3 4 LABEL REPO="https://github.com/keikoproj/manny" 5 6 WORKDIR /go/src/github.com/keikoproj/manny 7 COPY . . 8 9 RUN make build 10 11 # Final Stage 12 FROM scratch 13 14 ARG GIT_COMMIT 15 ARG VERSION 16 LABEL REPO="https://github.com/keikoproj/manny" 17 LABEL GIT_COMMIT=$GIT_COMMIT 18 LABEL VERSION=$VERSION 19 20 COPY --from=builder /go/src/github.com/keikoproj/manny/bin/manny /bin/manny 21 22 CMD ["/bin/manny", "--help"]