diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..c2e3388 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.dep +vendor \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 8040faf..43a4741 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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