From 6b944111a6dc11e48607d1c263ccd74865e4930d Mon Sep 17 00:00:00 2001 From: Sean Callaway Date: Wed, 31 Mar 2021 11:39:38 -0700 Subject: [PATCH] Add /go/bin to PATH. --- build/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/Dockerfile b/build/Dockerfile index 2c3411d0a..1258bd9c5 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -29,6 +29,8 @@ RUN addgroup --gid 101 terrascan && \ # run as non root user USER terrascan +ENV PATH /go/bin:$PATH + # copy terrascan binary from build COPY --from=builder /go/bin/terrascan /go/bin/terrascan