Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
RaviHari authored Jul 26, 2021
1 parent 8aa69e7 commit 8571e4c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Build Stage
FROM golang:1.13-alpine AS builder

LABEL REPO="https://github.com/keikoproj/manny"

WORKDIR /go/src/github.com/keikoproj/manny
COPY . .

RUN make build

# Final Stage
FROM scratch

ARG GIT_COMMIT
ARG VERSION
LABEL REPO="https://github.com/keikoproj/manny"
LABEL GIT_COMMIT=$GIT_COMMIT
LABEL VERSION=$VERSION

COPY --from=builder /go/src/github.com/keikoproj/manny/bin/manny /bin/manny

CMD ["/bin/manny", "--help"]

0 comments on commit 8571e4c

Please sign in to comment.