From 7f5cbeae2687f871d0b8be9b7849a594f7103467 Mon Sep 17 00:00:00 2001 From: Phil Calcado Date: Thu, 22 Mar 2018 16:46:06 -0400 Subject: [PATCH] Add dep step to Dockerfile Signed-off-by: Phil Calcado --- .dockerignore | 2 ++ Dockerfile | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 .dockerignore 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