Skip to content

Commit

Permalink
Add /go/bin to PATH.
Browse files Browse the repository at this point in the history
  • Loading branch information
seancallaway committed Mar 31, 2021
1 parent 538b9ed commit 6b94411
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6b94411

Please sign in to comment.