Skip to content

Commit

Permalink
add simple dockerfile that builds all the monorepo tools
Browse files Browse the repository at this point in the history
  • Loading branch information
nullstyle committed Jan 8, 2018
1 parent 6e5ccd2 commit 3fbd8fb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vendor
dist
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM golang:1.9
RUN bash -c "curl https://glide.sh/get | sh"
WORKDIR /go/src/github.com/stellar/go

COPY glide.lock /go/src/github.com/stellar/go
COPY glide.yaml /go/src/github.com/stellar/go
RUN glide install

COPY . .
RUN go install github.com/stellar/go/tools/...
RUN go install github.com/stellar/go/services/...

0 comments on commit 3fbd8fb

Please sign in to comment.