Skip to content

Commit

Permalink
Add a dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhem committed Apr 18, 2018
1 parent 8c8424d commit ccc4136
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM golang:1.10-alpine AS build
COPY . /go/src/github.com/barpilot/node-labeler-operator/
WORKDIR /go/src/github.com/barpilot/node-labeler-operator/
RUN go build -o /bin/node-labeler-operator .

FROM alpine:latest
RUN apk --no-cache add ca-certificates
COPY --from=build /bin/node-labeler-operator /bin/node-labeler-operator
ENTRYPOINT ["/bin/node-labeler-operator"]

0 comments on commit ccc4136

Please sign in to comment.