Skip to content

Commit

Permalink
Merge pull request #57 from linki/linki-patch-1
Browse files Browse the repository at this point in the history
Use dep in Dockerfile as well
  • Loading branch information
linki authored Jan 12, 2018
2 parents d748c64 + e6b7a08 commit c9196e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
FROM golang:1.9-alpine as builder

RUN apk -U add git
RUN go get github.com/golang/dep/cmd/dep
WORKDIR /go/src/github.com/linki/chaoskube
COPY . .
RUN dep ensure
RUN go test -v ./...
RUN go build -o /bin/chaoskube -v \
-ldflags "-X main.version=$(git describe --tags --always --dirty) -w -s"
Expand Down

0 comments on commit c9196e3

Please sign in to comment.