Skip to content

Commit

Permalink
Merge pull request #14 from pmcatominey/dockerfile
Browse files Browse the repository at this point in the history
add Dockerfile
  • Loading branch information
jrasell committed Oct 24, 2017
2 parents 0c1aa0a + c5dfb97 commit 3ae8184
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 3ae8184

Please sign in to comment.