From c389d6ecf2cf601d145f1824d554b2ada5ca1855 Mon Sep 17 00:00:00 2001 From: Liz Rice Date: Tue, 30 Jan 2018 16:56:23 +0000 Subject: [PATCH] Fix build Copy the cfg files and entrypoint.sh from the first stage of the multistage build --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 115f429..10f1676 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ RUN go get github.com/aquasecurity/kube-bench FROM alpine:latest WORKDIR / COPY --from=0 /go/bin/kube-bench /kube-bench -COPY cfg cfg -COPY entrypoint.sh /entrypoint.sh +COPY --from=0 /go/src/github.com/aquasecurity/kube-bench/cfg /cfg +COPY --from=0 /go/src/github.com/aquasecurity/kube-bench/entrypoint.sh /entrypoint.sh ENTRYPOINT /entrypoint.sh # Build-time metadata as defined at http://label-schema.org