Skip to content

Commit

Permalink
add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter McAtominey committed Oct 11, 2017
1 parent daced87 commit c5dfb97
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM golang:alpine as builder

WORKDIR /go/src/github.com/jrasell/levant
COPY . .
RUN apk add --no-cache make \
&& make install

FROM alpine:latest

COPY --from=builder /go/bin/levant /usr/bin/levant
CMD ["levant", "--help"]

0 comments on commit c5dfb97

Please sign in to comment.