From 197f6692e1bfed1f5d5fe19c8464c272b3b10a3f Mon Sep 17 00:00:00 2001 From: Abubakr-Sadik Nii Nai Davis Date: Fri, 10 Aug 2018 12:35:19 +0000 Subject: [PATCH] More fix for Dockerfile. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4db6cd7..5b87c3b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,9 @@ WORKDIR /go/src/github.com/aquasecurity/kube-bench/ ADD Gopkg.toml Gopkg.lock ./ RUN go get -v github.com/golang/dep/cmd/dep && dep ensure -v -vendor-only RUN git clone https://github.com/aquasecurity/bench-common /go/src/github.com/aquasecurity/bench-common +WORKDIR /go/src/github.com/aquasecurity/bench-common/ +RUN go get -v +WORKDIR /go/src/github.com/aquasecurity/bench-common/ COPY * /go/src/github.com/aquasecurity/kube-bench/ RUN CGO_ENABLED=0 go install -a -ldflags '-w'