Skip to content

Commit

Permalink
Add dep step to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pcalcado authored Mar 22, 2018
2 parents b535c88 + 7f5cbea commit b876676
Show file tree
Hide file tree
Showing 2 changed files with 4 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 @@
.dep
vendor
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM golang:1.10.0-stretch as golang
WORKDIR /go/src/github.com/buoyantio/bb
ADD . /go/src/github.com/buoyantio/bb

RUN mkdir -p /out
RUN ./bin/dep ensure
RUN go build -o /out/bb .

FROM gcr.io/runconduit/base:2017-10-30.01
Expand Down

0 comments on commit b876676

Please sign in to comment.