Skip to content

Commit

Permalink
Merge branch 'master' of github.com:maorfr/orca
Browse files Browse the repository at this point in the history
  • Loading branch information
maorfr committed Oct 15, 2018
2 parents 7215c5c + 86e78f9 commit ab5b103
Show file tree
Hide file tree
Showing 8 changed files with 658 additions and 336 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
vendor/

examples/

bin/
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
FROM golang:1.10.3-alpine as builder
WORKDIR /go/src/github.com/maorfr/orca/
COPY . .

ARG DEP_VERSION=v0.5.0

RUN apk --no-cache add git \
&& go get -u github.com/Masterminds/glide \
&& glide install --strip-vendor \
&& wget -q -O $GOPATH/bin/dep https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 \
&& chmod +x $GOPATH/bin/dep \
&& dep ensure \
&& for f in $(find test -type f -name "*.go"); do go test -v $f; done \
&& CGO_ENABLED=0 GOOS=linux go build -o orca cmd/orca.go

Expand Down
Loading

0 comments on commit ab5b103

Please sign in to comment.